public class PluggableRestletService extends DefaultComponent
| Modifier and Type | Field and Description | 
|---|---|
static String | 
NAME  | 
lastModified, name| 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)  | 
getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic 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 © 2019 Nuxeo. All rights reserved.