public interface ComponentInstance extends ComponentContext, Extensible, Adaptable
Component instance objects are created each time a component is activated, and destroyed at component deactivation.
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the implementation instance.
|
void |
deactivate()
Deactivates the implementation instance.
|
void |
destroy()
Destroys this instance.
|
RuntimeContext |
getContext()
Gets the runtime context attached to this instance.
|
Object |
getInstance()
Gets the actual component implementation instance.
|
ComponentName |
getName()
Gets the name of the component.
|
String[] |
getProvidedServiceNames()
Gets the list of provided services, or null if no service is provided.
|
void |
reload()
Reload the component.
|
getProperty, getPropertyNames, getPropertyValue, getPropertyValue, getRuntimeContext
registerExtension, unregisterExtension
getAdapter
Object getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate()
void deactivate()
void destroy()
void reload()
String[] getProvidedServiceNames()
Copyright © 2015 Nuxeo SA. All rights reserved.