Framework
API instead - Remove in 5.2.@Deprecated public class PlatformService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static ComponentName |
NAME
Deprecated.
|
Constructor and Description |
---|
PlatformService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public static final ComponentName NAME
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 contextException
- 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 contextException
- 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
Copyright © 2013 Nuxeo SA. All Rights Reserved.