public static class OpenOfficeConsoleCommand.OpenOfficeConsoleManagedProcess extends Object implements ManagedProcess
ManagedProcess
to open the OfficeConsole
.Constructor and Description |
---|
OpenOfficeConsoleManagedProcess(String officeBuildingHost,
int officeBuildingPort,
File trustStore,
String trustStorePassword,
String userName,
String password)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
init(ManagedProcessContext context)
Initialises this
ManagedProcess . |
void |
main()
Runs the functionality.
|
public OpenOfficeConsoleManagedProcess(String officeBuildingHost, int officeBuildingPort, File trustStore, String trustStorePassword, String userName, String password)
officeBuildingHost
- OfficeBuilding
host.officeBuildingPort
- OfficeBuilding
port.trustStore
- Trust store File
.trustStorePassword
- Password to the trust store File
.userName
- User name to connect.password
- Password to connect.public void init(ManagedProcessContext context) throws Throwable
ManagedProcess
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
.
init
in interface ManagedProcess
context
- ManagedProcessContext
.Throwable
- If fails to initialise.public void main() throws Throwable
ManagedProcess
Runs the functionality.
This should be a blocking call. Once this method returns the process is considered finished.
main
in interface ManagedProcess
Throwable
- If fails.Copyright © 2005–2016. All rights reserved.