|
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. |
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. |
| 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 |
|---|
Object getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate()
throws Exception
Exception - if any error occurs during activation
void deactivate()
throws Exception
Exception - if any error occurs during deactivation
void destroy()
throws Exception
Exception - if any error occurs
void reload()
throws Exception
ExceptionString[] getProvidedServiceNames()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||