|
Nuxeo Enterprise Platform 5.1 | |||||||||
| 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 destroy 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. |
| 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 durring activation
void deactivate()
throws Exception
Exception - if any error occurs durring deactivation
void destroy()
throws Exception
Exception - if any error occurs
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||