Package com.adaptris.core.management
Class UnifiedBootstrap
- java.lang.Object
-
- com.adaptris.core.management.UnifiedBootstrap
-
public class UnifiedBootstrap extends java.lang.Object
This is the class that handles almost everything required for startup.Classloading should be done before using this class, and a BootstrapProperties instance must be passed to this class which contains all the reqired information for starting an adapter.
-
-
Constructor Summary
Constructors Constructor Description UnifiedBootstrap(BootstrapProperties bootstrapProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
AdapterManagerMBean
createAdapter()
void
init(AdapterManagerMBean adapter)
void
start()
void
stop()
-
-
-
Constructor Detail
-
UnifiedBootstrap
public UnifiedBootstrap(BootstrapProperties bootstrapProperties)
-
-
Method Detail
-
createAdapter
public AdapterManagerMBean createAdapter() throws java.lang.Exception
- Throws:
java.lang.Exception
-
init
public void init(AdapterManagerMBean adapter) throws java.lang.Exception
- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
close
public void close() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-