|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentInstance
A component instance is a proxy to the component implementation object.
Component instance objects are created each time a component is activated, and destroyed at component deactivation.
Method Summary | |
---|---|
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. |
java.lang.Object |
getInstance()
Gets the actual component implementation instance. |
ComponentName |
getName()
Gets the name of the component. |
java.lang.String[] |
getProvidedServiceNames()
Gets the list of provided services, or null if no service is provided. |
Methods inherited from interface org.nuxeo.runtime.model.ComponentContext |
---|
getProperty, getPropertyNames, getPropertyValue, getPropertyValue, getRuntimeContext |
Methods inherited from interface org.nuxeo.runtime.model.Extensible |
---|
registerExtension, unregisterExtension |
Methods inherited from interface org.nuxeo.runtime.model.Adaptable |
---|
getAdapter |
Method Detail |
---|
java.lang.Object getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate() throws java.lang.Exception
java.lang.Exception
- if any error occurs during activationvoid deactivate() throws java.lang.Exception
java.lang.Exception
- if any error occurs during deactivationvoid destroy() throws java.lang.Exception
java.lang.Exception
- if any error occursjava.lang.String[] getProvidedServiceNames()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |