public class PluggableRestletService extends DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
lastModified| Constructor and Description |
|---|
PluggableRestletService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
org.restlet.Restlet |
getContributedRestletByName(String name) |
RestletPluginDescriptor |
getContributedRestletDescriptor(String name) |
List<String> |
getContributedRestletNames() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtensionpublic static final String NAME
public PluggableRestletService()
public void activate(ComponentContext context)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic List<String> getContributedRestletNames()
public RestletPluginDescriptor getContributedRestletDescriptor(String name)
public org.restlet.Restlet getContributedRestletByName(String name)
Copyright © 2016 Nuxeo SA. All rights reserved.