Package org.nuxeo.dmk
Class DmkComponent
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.dmk.DmkComponent
-
- All Implemented Interfaces:
Adaptable,Component,Extensible,TimestampedService
public class DmkComponent extends DefaultComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,DmkProtocol>configsprotected com.sun.jdmk.comm.HtmlAdaptorServerhtmlAdaptorprotected com.sun.jdmk.comm.internal.JDMKServerConnectorhttpConnectorprotected com.sun.jdmk.comm.internal.JDMKServerConnectorhttpsConnectorprotected Loglogprotected MBeanServermbs-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description DmkComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddestroyAdaptor(com.sun.jdmk.comm.HtmlAdaptorServer adaptor)protected voiddestroyConnector(com.sun.jdmk.comm.internal.JDMKServerConnector connector)protected com.sun.jdmk.comm.HtmlAdaptorServernewAdaptor(DmkProtocol config)protected com.sun.jdmk.comm.internal.JDMKServerConnectornewConnector(DmkProtocol config)voidregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)voidstart(ComponentContext context)Start the component.voidstop(ComponentContext arg0)Stop the component.-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
configs
protected final Map<String,DmkProtocol> configs
-
htmlAdaptor
protected com.sun.jdmk.comm.HtmlAdaptorServer htmlAdaptor
-
httpConnector
protected com.sun.jdmk.comm.internal.JDMKServerConnector httpConnector
-
httpsConnector
protected com.sun.jdmk.comm.internal.JDMKServerConnector httpsConnector
-
log
protected final Log log
-
mbs
protected final MBeanServer mbs
-
-
Method Detail
-
newAdaptor
protected com.sun.jdmk.comm.HtmlAdaptorServer newAdaptor(DmkProtocol config)
-
destroyAdaptor
protected void destroyAdaptor(com.sun.jdmk.comm.HtmlAdaptorServer adaptor)
-
newConnector
protected com.sun.jdmk.comm.internal.JDMKServerConnector newConnector(DmkProtocol config)
-
destroyConnector
protected void destroyConnector(com.sun.jdmk.comm.internal.JDMKServerConnector connector)
-
start
public void start(ComponentContext context)
Description copied from interface:ComponentStart the component. This method is called after all the components were resolved and activated- Specified by:
startin interfaceComponent- Overrides:
startin classDefaultComponent
-
stop
public void stop(ComponentContext arg0)
Description copied from interface:ComponentStop the component.- Specified by:
stopin interfaceComponent- Overrides:
stopin classDefaultComponent
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
registerContributionin classDefaultComponent
-
-