|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.DefaultComponent org.nuxeo.ecm.platform.api.PlatformService
Framework
API instead - Remove in 5.2.
@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 |
---|
applicationStarted, getAdapter, registerExtension, unregisterExtension |
Methods inherited from class java.lang.Object |
---|
equals, 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
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime context
Exception
- if an error occurs during activationpublic void deactivate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime context
Exception
- if an error occurs during activationpublic 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 ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |