Class ThreadSafeComponentManager.ComponentFactory
- java.lang.Object
-
- org.ametys.runtime.plugin.component.ThreadSafeComponentManager.ComponentFactory
-
- Direct Known Subclasses:
PluginsComponentManager.ProxyComponentFactory
- Enclosing class:
- ThreadSafeComponentManager<T>
class ThreadSafeComponentManager.ComponentFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Class<? extends T>_componentClass(package private) Configuration_configuration(package private) String_featureName(package private) org.slf4j.Logger_logger(package private) String_pluginName(package private) String_role(package private) ServiceManager_serviceManager
-
Constructor Summary
Constructors Constructor Description ComponentFactory(String pluginName, String featureName, String role, Class<? extends T> componentClass, Configuration configuration, ServiceManager serviceManager, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidconfigureAndStart(T component)(package private) Tinstanciate()(package private) TnewInstance()
-
-
-
Field Detail
-
_pluginName
String _pluginName
-
_featureName
String _featureName
-
_componentClass
Class<? extends T> _componentClass
-
_configuration
Configuration _configuration
-
_serviceManager
ServiceManager _serviceManager
-
_logger
org.slf4j.Logger _logger
-
-
Constructor Detail
-
ComponentFactory
ComponentFactory(String pluginName, String featureName, String role, Class<? extends T> componentClass, Configuration configuration, ServiceManager serviceManager, org.slf4j.Logger logger)
-
-
Method Detail
-
instanciate
T instanciate() throws Exception
- Throws:
Exception
-
configureAndStart
void configureAndStart(T component) throws Exception
- Throws:
Exception
-
newInstance
T newInstance() throws Exception
- Throws:
Exception
-
-