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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<String,
DmkProtocol> protected com.sun.jdmk.comm.HtmlAdaptorServer
protected com.sun.jdmk.comm.internal.JDMKServerConnector
protected com.sun.jdmk.comm.internal.JDMKServerConnector
protected final MBeanServer
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
getApplicationStartedOrder
-
Field Details
-
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 -
mbs
-
-
Constructor Details
-
DmkComponent
public DmkComponent()
-
-
Method Details
-
newAdaptor
-
destroyAdaptor
protected void destroyAdaptor(com.sun.jdmk.comm.HtmlAdaptorServer adaptor) -
newConnector
-
destroyConnector
protected void destroyConnector(com.sun.jdmk.comm.internal.JDMKServerConnector connector) -
start
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
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
-