public final class ManagementRemotingServices extends RemotingServices
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN_CHANNEL
The name of the channel used between slave and master DCs
|
static String |
HTTP_CONNECTOR |
static String |
HTTPS_CONNECTOR |
static String |
MANAGEMENT_CHANNEL
The name of the external management channel
|
static String |
MANAGEMENT_CONNECTOR |
static org.jboss.msc.service.ServiceName |
MANAGEMENT_ENDPOINT
The name of the endpoint service used for management
|
static String |
SERVER_CHANNEL
The name of the channel used for Server to HC comms
|
static org.jboss.msc.service.ServiceName |
SHUTDOWN_EXECUTOR_NAME |
REMOTING_BASE, SUBSYSTEM_ENDPOINT
Modifier and Type | Method and Description |
---|---|
static void |
installDomainConnectorServices(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName endpointName,
org.jboss.msc.service.ServiceName networkInterfaceBinding,
int port,
String securityRealm,
org.xnio.OptionMap options)
Installs a remoting stream server for a domain instance
|
static void |
installManagementChannelOpenListenerService(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName endpointName,
String channelName,
org.jboss.msc.service.ServiceName operationHandlerName,
org.xnio.OptionMap options,
boolean onDemand)
Set up the services to create a channel listener.
|
static void |
installManagementChannelServices(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName endpointName,
AbstractModelControllerOperationHandlerFactoryService operationHandlerService,
org.jboss.msc.service.ServiceName modelControllerName,
String channelName,
org.jboss.msc.service.ServiceName executorServiceName,
org.jboss.msc.service.ServiceName scheduledExecutorServiceName)
Set up the services to create a channel listener and operation handler service.
|
static void |
isManagementResourceRemoveable(OperationContext context,
PathAddress otherManagementEndpoint)
Manual check because introducing a capability can't be done without a full refactoring.
|
static void |
removeManagementChannelOpenListenerService(OperationContext context,
org.jboss.msc.service.ServiceName endpointName,
String channelName) |
static void |
removeManagementChannelServices(OperationContext context,
org.jboss.msc.service.ServiceName endpointName,
String channelName) |
channelServiceName, connectorServiceName, installConnectorServicesForNetworkInterfaceBinding, installConnectorServicesForSocketBinding, installRemotingManagementEndpoint, installRemotingManagementEndpoint, installSecurityServices, removeConnectorServices, serverServiceName
public static final org.jboss.msc.service.ServiceName MANAGEMENT_ENDPOINT
public static final org.jboss.msc.service.ServiceName SHUTDOWN_EXECUTOR_NAME
public static final String MANAGEMENT_CHANNEL
public static final String DOMAIN_CHANNEL
public static final String SERVER_CHANNEL
public static final String MANAGEMENT_CONNECTOR
public static final String HTTP_CONNECTOR
public static final String HTTPS_CONNECTOR
public static void installDomainConnectorServices(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName, org.jboss.msc.service.ServiceName networkInterfaceBinding, int port, String securityRealm, org.xnio.OptionMap options)
serviceTarget
- the service target to install the services intoendpointName
- the name of the endpoint to install the stream server intonetworkInterfaceBinding
- the network interface bindingport
- the portsecurityRealm
- the security real nameoptions
- the remoting optionspublic static void installManagementChannelOpenListenerService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName, String channelName, org.jboss.msc.service.ServiceName operationHandlerName, org.xnio.OptionMap options, boolean onDemand)
endpointName
exists.serviceTarget
- the service target to install the services intoendpointName
- the name of the endpoint to install a channel listener intochannelName
- the name of the channeloperationHandlerName
- the name of the operation handler to handle request for this channeloptions
- the remoting optionsonDemand
- whether to install the services on demandpublic static void removeManagementChannelOpenListenerService(OperationContext context, org.jboss.msc.service.ServiceName endpointName, String channelName)
public static void installManagementChannelServices(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName, AbstractModelControllerOperationHandlerFactoryService operationHandlerService, org.jboss.msc.service.ServiceName modelControllerName, String channelName, org.jboss.msc.service.ServiceName executorServiceName, org.jboss.msc.service.ServiceName scheduledExecutorServiceName)
serviceTarget
- the service target to install the services intoendpointName
- the endpoint name to install the services intochannelName
- the name of the channelexecutorServiceName
- service name of the executor service to use in the operation handler servicescheduledExecutorServiceName
- service name of the scheduled executor service to use in the operation handler servicepublic static void removeManagementChannelServices(OperationContext context, org.jboss.msc.service.ServiceName endpointName, String channelName)
public static void isManagementResourceRemoveable(OperationContext context, PathAddress otherManagementEndpoint) throws OperationFailedException
context
- the OperationContextotherManagementEndpoint
- : the address to check that may provide an exposed jboss-remoting endpoint.OperationFailedException
- in case we can't remove the management resource.Copyright © 2023 JBoss by Red Hat. All rights reserved.