public class DmkComponent extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
protected Map<String,DmkProtocol> |
configs |
protected com.sun.jdmk.comm.HtmlAdaptorServer |
htmlAdaptor |
protected com.sun.jdmk.comm.internal.JDMKServerConnector |
httpConnector |
protected com.sun.jdmk.comm.internal.JDMKServerConnector |
httpsConnector |
protected org.apache.commons.logging.Log |
log |
protected MBeanServer |
mbs |
lastModified
Constructor and Description |
---|
DmkComponent() |
Modifier and Type | Method and Description |
---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
deactivate(ComponentContext arg0)
Deactivates the component.
|
protected void |
destroyAdaptor(com.sun.jdmk.comm.HtmlAdaptorServer adaptor) |
protected void |
destroyConnector(com.sun.jdmk.comm.internal.JDMKServerConnector connector) |
protected com.sun.jdmk.comm.HtmlAdaptorServer |
newAdaptor(DmkProtocol config) |
protected com.sun.jdmk.comm.internal.JDMKServerConnector |
newConnector(DmkProtocol config) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
protected final Map<String,DmkProtocol> configs
protected com.sun.jdmk.comm.HtmlAdaptorServer htmlAdaptor
protected com.sun.jdmk.comm.internal.JDMKServerConnector httpConnector
protected com.sun.jdmk.comm.internal.JDMKServerConnector httpsConnector
protected final org.apache.commons.logging.Log log
protected final MBeanServer mbs
public DmkComponent()
protected com.sun.jdmk.comm.HtmlAdaptorServer newAdaptor(DmkProtocol config)
protected void destroyAdaptor(com.sun.jdmk.comm.HtmlAdaptorServer adaptor)
protected com.sun.jdmk.comm.internal.JDMKServerConnector newConnector(DmkProtocol config)
protected void destroyConnector(com.sun.jdmk.comm.internal.JDMKServerConnector connector)
public void deactivate(ComponentContext arg0)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
arg0
- the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Copyright © 2015 Nuxeo SA. All rights reserved.