Package com.adaptris.core.management
Interface ManagementComponent
-
- All Known Implementing Classes:
JettyServerComponent,JmxRemoteComponent,MgmtComponentImpl
public interface ManagementComponentInterface for management components that exist outside of the standard adapter lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voiddestroy()Destroy the management component making it require re-initialisation.voidinit(java.util.Properties config)Initialise the management component.default voidsetClassLoader(java.lang.ClassLoader classLoader)Deprecated.voidstart()Start the management component.voidstop()Stop the management component.
-
-
-
Method Detail
-
setClassLoader
@Deprecated @Removal(version="5.0.0", message="Is ignored, and has no purpose.") default void setClassLoader(java.lang.ClassLoader classLoader)Deprecated.
-
init
void init(java.util.Properties config) throws java.lang.Exception
Initialise the management component.- Parameters:
config- configuration properties that have been built during bootstrap.- Throws:
java.lang.Exception- if initialisation fails.
-
start
void start() throws java.lang.ExceptionStart the management component.- Throws:
java.lang.Exception
-
stop
void stop() throws java.lang.Exception
Stop the management component.- Throws:
java.lang.Exception
-
destroy
void destroy() throws java.lang.ExceptionDestroy the management component making it require re-initialisation.- Throws:
java.lang.Exception
-
-