Interface SingleComponentManager.SetImplementationObject<S>
-
- Enclosing class:
- SingleComponentManager<S>
protected static interface SingleComponentManager.SetImplementationObject<S>
TheSetImplementationObject
interface provides an API for component managers to setup the implementation object and potentially other parts as part of theSingleComponentManager.createImplementationObject(org.osgi.framework.Bundle, org.apache.felix.scr.impl.manager.SingleComponentManager.SetImplementationObject<S>, org.apache.felix.scr.impl.manager.ComponentContextImpl<S>)
method processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
presetComponentContext(ComponentContextImpl<S> componentContext)
Presets the implementation object.void
resetImplementationObject(S implementationObject)
Resets the implementation object.
-
-
-
Method Detail
-
presetComponentContext
void presetComponentContext(ComponentContextImpl<S> componentContext)
Presets the implementation object. This method is called before the component's activator method is called and is intended to temporarily set the implementation object during the activator call.
-
resetImplementationObject
void resetImplementationObject(S implementationObject)
Resets the implementation object. This method is called after the activator method terminates with an error and is intended to revert any temporary settings done in thepresetComponentContext(ComponentContextImpl)
method.
-
-