|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.api.PlatformService
Framework API instead
@Deprecated public class PlatformService
| Field Summary | |
|---|---|
static ComponentName |
NAME
Deprecated. |
| Constructor Summary | |
|---|---|
PlatformService()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
activate(ComponentContext context)
Deprecated. Activates the component. |
void |
deactivate(ComponentContext context)
Deprecated. Deactivates the component. |
RuntimeContext |
getContext()
Deprecated. |
static PlatformService |
getInstance()
Deprecated. |
Platform |
getPlatform()
Deprecated. |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
Deprecated. |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
Deprecated. |
| Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
|---|
getAdapter, registerExtension, unregisterExtension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ComponentName NAME
| Constructor Detail |
|---|
public PlatformService()
| Method Detail |
|---|
public static PlatformService getInstance()
public RuntimeContext getContext()
public Platform getPlatform()
public void activate(ComponentContext context)
throws Exception
ComponentThis method will be called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime context
Exception - if an error occurs during activation
public void deactivate(ComponentContext context)
throws Exception
ComponentThis method will be called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime context
Exception - if an error occurs during activation
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
registerContribution in class DefaultComponent
public void unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
unregisterContribution in class DefaultComponent
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||