Class ExistingChannelModelControllerClient
java.lang.Object
org.jboss.as.controller.client.impl.AbstractModelControllerClient
org.jboss.as.controller.client.impl.ExistingChannelModelControllerClient
- All Implemented Interfaces:
Closeable,AutoCloseable,ModelControllerClient,org.jboss.as.protocol.mgmt.ManagementRequestHandlerFactory
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.protocol.mgmt.ManagementRequestHandlerFactory
org.jboss.as.protocol.mgmt.ManagementRequestHandlerFactory.RequestHandlerChainNested classes/interfaces inherited from interface org.jboss.as.controller.client.ModelControllerClient
ModelControllerClient.Factory -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExistingChannelModelControllerClient(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static ModelControllerClientcreateAndAdd(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler) Create and add model controller handler to an existing management channel handler.static ModelControllerClientcreateReceiving(org.jboss.remoting3.Channel channel, ExecutorService executorService) Create a model controller client which is exclusively receiving messages on an existing channel.protected org.jboss.as.protocol.mgmt.ManagementChannelAssociationGet the mgmt channel association.Methods inherited from class org.jboss.as.controller.client.impl.AbstractModelControllerClient
execute, execute, execute, execute, executeAsync, executeAsync, executeOperation, executeOperationAsync, executeRequest, resolveHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.client.ModelControllerClient
executeAsync, executeAsync
-
Constructor Details
-
ExistingChannelModelControllerClient
protected ExistingChannelModelControllerClient(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
-
-
Method Details
-
getChannelAssociation
protected org.jboss.as.protocol.mgmt.ManagementChannelAssociation getChannelAssociation() throws IOExceptionDescription copied from class:AbstractModelControllerClientGet the mgmt channel association.- Specified by:
getChannelAssociationin classAbstractModelControllerClient- Returns:
- the channel association
- Throws:
IOException
-
close
- Throws:
IOException
-
createAndAdd
public static ModelControllerClient createAndAdd(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler) Create and add model controller handler to an existing management channel handler.- Parameters:
handler- the channel handler- Returns:
- the created client
-
createReceiving
public static ModelControllerClient createReceiving(org.jboss.remoting3.Channel channel, ExecutorService executorService) Create a model controller client which is exclusively receiving messages on an existing channel.- Parameters:
channel- the channelexecutorService- an executor- Returns:
- the created client
-