class ThreadSafeComponentManager.ComponentFactory extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Class<? extends T> |
_componentClass |
(package private) Configuration |
_configuration |
(package private) String |
_featureName |
(package private) Logger |
_logger |
(package private) String |
_pluginName |
(package private) String |
_role |
(package private) ServiceManager |
_serviceManager |
Constructor and Description |
---|
ComponentFactory(String pluginName,
String featureName,
String role,
Class<? extends T> componentClass,
Configuration configuration,
ServiceManager serviceManager,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
configureAndStart(T component) |
(package private) T |
instanciate() |
(package private) T |
newInstance() |
String _pluginName
String _featureName
Class<? extends T> _componentClass
Configuration _configuration
ServiceManager _serviceManager
ComponentFactory(String pluginName, String featureName, String role, Class<? extends T> componentClass, Configuration configuration, ServiceManager serviceManager, Logger logger)
T instanciate() throws Exception
Exception
void configureAndStart(T component) throws Exception
Exception
T newInstance() throws Exception
Exception