public class WSEndpointManagerImpl extends DefaultComponent implements WSEndpointManager
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_EP |
protected Map<String,Endpoint> |
endpoints |
protected WSEndpointRegistry |
regitry |
lastModified
WS_SERVLET
Constructor and Description |
---|
WSEndpointManagerImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getApplicationStartedOrder()
The component notification order for
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext) . |
Collection<WSEndpointDescriptor> |
getDescriptors() |
void |
publishEndpoints() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
start(ComponentContext context)
Start the component.
|
void |
stop(ComponentContext context)
Stop the component.
|
protected void |
stopIfExists(String name) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted
public static final String ENDPOINT_EP
protected WSEndpointRegistry regitry
public WSEndpointManagerImpl()
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
public void start(ComponentContext context)
Component
start
in interface Component
start
in class DefaultComponent
public void stop(ComponentContext context)
Component
stop
in interface Component
stop
in class DefaultComponent
public void publishEndpoints()
publishEndpoints
in interface WSEndpointManager
public Collection<WSEndpointDescriptor> getDescriptors()
getDescriptors
in interface WSEndpointManager
protected void stopIfExists(String name)
public int getApplicationStartedOrder()
Component
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext)
.
Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
getApplicationStartedOrder
in interface Component
Copyright © 2018 Nuxeo. All rights reserved.