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 |
---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
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) |
protected void |
stopIfExists(String name) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
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 deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
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
getApplicationStartedOrder
in class DefaultComponent
Copyright © 2016 Nuxeo SA. All rights reserved.