Interface SingleComponentManager.SetImplementationObject<S>
- Enclosing class:
SingleComponentManager<S>
protected static interface SingleComponentManager.SetImplementationObject<S>
The
SetImplementationObject interface provides an
API for component managers to setup the implementation object and
potentially other parts as part of the SingleComponentManager.createImplementationObject(Bundle, SingleComponentManager.SetImplementationObject, ComponentContextImpl) method
processing.-
Method Summary
Modifier and TypeMethodDescriptionvoidpresetComponentContext(ComponentContextImpl<S> componentContext) Presets the implementation object.voidresetImplementationObject(S implementationObject) Resets the implementation object.
-
Method Details
-
presetComponentContext
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
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.
-