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,ManagementRequestHandlerFactory
public class ExistingChannelModelControllerClient extends AbstractModelControllerClient
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
-
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExistingChannelModelControllerClient(ManagementChannelHandler handler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static ModelControllerClientcreateAndAdd(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 ManagementChannelAssociationgetChannelAssociation()Get the mgmt channel association.-
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
-
-
-
-
Constructor Detail
-
ExistingChannelModelControllerClient
protected ExistingChannelModelControllerClient(ManagementChannelHandler handler)
-
-
Method Detail
-
getChannelAssociation
protected ManagementChannelAssociation getChannelAssociation() throws IOException
Description copied from class:AbstractModelControllerClientGet the mgmt channel association.- Specified by:
getChannelAssociationin classAbstractModelControllerClient- Returns:
- the channel association
- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
createAndAdd
public static ModelControllerClient createAndAdd(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
-
-