public interface ManagedProcess extends Serializable
Provides hooks for managing the Process
.
This object must be Serializable
to allow its state to be sent to the
Process
.
Modifier and Type | Method and Description |
---|---|
void |
init(ManagedProcessContext context)
Initialises this
ManagedProcess . |
void |
main()
Runs the functionality.
|
void init(ManagedProcessContext context) throws Throwable
Initialises this ManagedProcess
.
All MBean instances registered before this method returns will be made
available to the ProcessManager
before it is returned on starting
the Process
.
context
- ManagedProcessContext
.Throwable
- If fails to initialise.Copyright © 2005–2016. All rights reserved.