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>
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 Log
log
protected MBeanServer
mbs
-
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 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)
void
start(ComponentContext context)
Start the component.void
stop(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:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
stop
public void stop(ComponentContext arg0)
Description copied from interface:Component
Stop the component.- Specified by:
stop
in interfaceComponent
- Overrides:
stop
in classDefaultComponent
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
registerContribution
in classDefaultComponent
-
-