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
FieldsModifier and TypeFieldDescriptionprotected final Map<String,DmkProtocol> protected com.sun.jdmk.comm.HtmlAdaptorServerprotected com.sun.jdmk.comm.internal.JDMKServerConnectorprotected com.sun.jdmk.comm.internal.JDMKServerConnectorprotected final MBeanServerFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ComponentStart the component. This method is called after all the components were resolved and activated- Specified by:
startin interfaceComponent- Overrides:
startin classDefaultComponent
-
stop
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
-