com.ibm.websphere.management.cmdframework
Class CommandMgrInitializer
- java.lang.Object
com.ibm.websphere.management.cmdframework.CommandMgrInitializer
- public final class CommandMgrInitializer
- extends java.lang.Object
Method Summary
Modifier and Type | Method and Description |
---|---|
|
initializeClientMode(AdminClient adminclient)
Deprecated. Replaced by CommandMgr.getCommandMgr(AdminClient adminclient)
|
|
initializeLocalMode()
Deprecated. Replaced by CommandMgr.getCommandMgr()
|
|
initializeServerMode()
Deprecated. Replaced by CommandMgr.getCommandMgr()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail
initializeClientMode
- public static void initializeClientMode( AdminClient adminclient)
- throws CommandMgrInitException
Deprecated. Replaced by CommandMgr.getCommandMgr(AdminClient adminclient)
Initializes command framework component in client mode. If user want to connect
to another server, then this method should be called again.
For now, we only support one AdminClient (Singleton) per process, but in the future we can
enhance this.
Parameters:
adminclient
- the adminClient object that represents a remote server for
command execution. Throws:
initializeServerMode
- public static void initializeServerMode( )
Deprecated. Replaced by CommandMgr.getCommandMgr()
Initializes the command framework component in server mode.
This method should be called only once normally. Invocations after first
invocation will be a noop.
initializeLocalMode
- public static void initializeLocalMode( )
Deprecated. Replaced by CommandMgr.getCommandMgr()
Initializes command framework component in local mode.
This method will be called only once normally. All the invocations after first
invocation will be equivalent to an noop.