public class SampleServiceImpl extends DefaultComponent implements SampleService
lastModified
Constructor and Description |
---|
SampleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Component activated notification.
|
void |
applicationStarted(ComponentContext context)
Application started notification.
|
void |
deactivate(ComponentContext context)
Component deactivated notification.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicationStartedOrder
public SampleServiceImpl()
public void activate(ComponentContext context)
activate
in interface Component
activate
in class DefaultComponent
context
- the component context.public void deactivate(ComponentContext context)
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the component context.public void applicationStarted(ComponentContext context)
applicationStarted
in interface Component
context
- the component context. Use it to get the current bundle contextException
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
Copyright © 2018 Nuxeo. All rights reserved.