Package org.jboss.as.cli.impl
Class CLIModelControllerClient
- java.lang.Object
-
- org.jboss.as.controller.client.impl.AbstractModelControllerClient
-
- org.jboss.as.cli.impl.CLIModelControllerClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable,AwaiterModelControllerClient,ModelControllerClient,ManagementRequestHandlerFactory
public class CLIModelControllerClient extends AbstractModelControllerClient implements AwaiterModelControllerClient
- Author:
- Alexey Loubyansky
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.protocol.mgmt.ManagementRequestHandlerFactory
ManagementRequestHandlerFactory.RequestHandlerChain
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.client.ModelControllerClient
ModelControllerClient.Factory
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitClose(boolean awaitClose)voidclose()voidensureConnected(long timeoutMillis)org.jboss.dmr.ModelNodeexecute(org.jboss.dmr.ModelNode operation, boolean awaitClose)protected ManagementChannelAssociationgetChannelAssociation()protected org.jboss.remoting3.ChannelgetOrCreateChannel()booleanisConnected()-
Methods inherited from class org.jboss.as.controller.client.impl.AbstractModelControllerClient
execute, execute, execute, execute, executeAsync, executeAsync, executeOperation, executeOperationAsync, executeRequest, resolveHandler
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.client.ModelControllerClient
executeAsync, executeAsync
-
-
-
-
Method Detail
-
getChannelAssociation
protected ManagementChannelAssociation getChannelAssociation() throws IOException
- Specified by:
getChannelAssociationin classAbstractModelControllerClient- Throws:
IOException
-
getOrCreateChannel
protected org.jboss.remoting3.Channel getOrCreateChannel() throws IOException- Throws:
IOException
-
isConnected
public boolean isConnected()
- Specified by:
isConnectedin interfaceAwaiterModelControllerClient
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
execute
public org.jboss.dmr.ModelNode execute(org.jboss.dmr.ModelNode operation, boolean awaitClose) throws IOException- Specified by:
executein interfaceAwaiterModelControllerClient- Throws:
IOException
-
awaitClose
public void awaitClose(boolean awaitClose) throws IOException- Specified by:
awaitClosein interfaceAwaiterModelControllerClient- Throws:
IOException
-
ensureConnected
public void ensureConnected(long timeoutMillis) throws CommandLineException, IOException- Specified by:
ensureConnectedin interfaceAwaiterModelControllerClient- Throws:
CommandLineExceptionIOException
-
-