Package com.adaptris.core.management
Interface ManagementComponent
-
- All Known Implementing Classes:
JettyServerComponent
,JmxRemoteComponent
,MgmtComponentImpl
public interface ManagementComponent
Interface 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 void
destroy()
Destroy the management component making it require re-initialisation.void
init(java.util.Properties config)
Initialise the management component.default void
setClassLoader(java.lang.ClassLoader classLoader)
Deprecated.void
start()
Start the management component.void
stop()
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.Exception
Start 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.Exception
Destroy the management component making it require re-initialisation.- Throws:
java.lang.Exception
-
-