public class SocketBindingJBossASClient extends JBossASClient
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BINDING_AJP |
static String |
DEFAULT_BINDING_HTTP |
static String |
DEFAULT_BINDING_HTTPS |
static String |
DEFAULT_BINDING_JACORB |
static String |
DEFAULT_BINDING_JACORB_SSL |
static String |
DEFAULT_BINDING_MESSAGING |
static String |
DEFAULT_BINDING_MESSAGING_THRUPUT |
static String |
DEFAULT_BINDING_MGMT_HTTP |
static String |
DEFAULT_BINDING_MGMT_HTTPS |
static String |
DEFAULT_BINDING_MGMT_NATIVE |
static String |
DEFAULT_BINDING_OSGI_HTTP |
static String |
DEFAULT_BINDING_REMOTING |
static String |
DEFAULT_BINDING_TXN_RECOVERY_ENV |
static String |
DEFAULT_BINDING_TXN_STATUS_MGR |
static String |
INTERFACE |
static String |
JBOSS_SYSPROP_PORT_OFFSET |
static String |
PORT |
static String |
PORT_OFFSET |
static String |
SOCKET_BINDING |
static String |
SOCKET_BINDING_GROUP |
static String |
STANDARD_SOCKETS |
ADD, ADDRESS, BATCH, BATCH_STEPS, FAILURE_DESCRIPTION, log, NAME, OPERATION, OUTCOME, OUTCOME_SUCCESS, PERSISTENT, READ_ATTRIBUTE, READ_RESOURCE, REMOVE, RESULT, SUBSYSTEM, SYSTEM_PROPERTY, VALUE, WRITE_ATTRIBUTE| Constructor and Description |
|---|
SocketBindingJBossASClient(org.jboss.as.controller.client.ModelControllerClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
setPortOffset(String socketBindingGroupName,
String sysPropName,
int offset)
Sets the port offset for the socket bindings found in the named socket binding group.
|
void |
setSocketBindingInterfaceExpression(String socketBindingGroupName,
String socketBindingName,
String sysPropName,
String interfaceName)
Sets the interface name for the named socket binding found in the named socket binding group.
|
void |
setSocketBindingPort(String socketBindingGroupName,
String socketBindingName,
int port)
Sets the port number for the named socket binding found in the named socket binding group.
|
void |
setSocketBindingPort(String socketBindingGroupName,
String socketBindingName,
String interfaceName)
Sets the interface name for the named socket binding found in the named socket binding group.
|
void |
setSocketBindingPortExpression(String socketBindingGroupName,
String socketBindingName,
String sysPropName,
int port)
Sets the port number for the named socket binding found in the named socket binding group.
|
void |
setStandardPortOffset(int offset)
Sets the port offset for the socket bindings found in the standard socket binding group.
|
void |
setStandardSocketBindingInterface(String socketBindingName,
String interfaceName)
Sets the interface name for the named standard socket binding.
|
void |
setStandardSocketBindingInterfaceExpression(String socketBindingName,
String sysPropName,
String interfaceName)
Sets the interface name for the named standard socket binding.
|
void |
setStandardSocketBindingPort(String socketBindingName,
int port)
Sets the port number for the named standard socket binding.
|
void |
setStandardSocketBindingPortExpression(String socketBindingName,
String sysPropName,
int port)
Sets the port number for the named standard socket binding.
|
createBatchRequest, createReadAttributeRequest, createReadAttributeRequest, createRequest, createWriteAttributeRequest, execute, findNodeInList, getFailureDescription, getModelControllerClient, getResultListAsStrings, getResults, getStringAttribute, getStringAttribute, isSuccess, readResource, readResource, remove, setPossibleExpressionpublic static final String SOCKET_BINDING_GROUP
public static final String SOCKET_BINDING
public static final String PORT
public static final String INTERFACE
public static final String PORT_OFFSET
public static final String STANDARD_SOCKETS
public static final String JBOSS_SYSPROP_PORT_OFFSET
public static final String DEFAULT_BINDING_MGMT_NATIVE
public static final String DEFAULT_BINDING_MGMT_HTTP
public static final String DEFAULT_BINDING_MGMT_HTTPS
public static final String DEFAULT_BINDING_AJP
public static final String DEFAULT_BINDING_HTTP
public static final String DEFAULT_BINDING_HTTPS
public static final String DEFAULT_BINDING_JACORB
public static final String DEFAULT_BINDING_JACORB_SSL
public static final String DEFAULT_BINDING_MESSAGING
public static final String DEFAULT_BINDING_MESSAGING_THRUPUT
public static final String DEFAULT_BINDING_OSGI_HTTP
public static final String DEFAULT_BINDING_REMOTING
public static final String DEFAULT_BINDING_TXN_RECOVERY_ENV
public static final String DEFAULT_BINDING_TXN_STATUS_MGR
public SocketBindingJBossASClient(org.jboss.as.controller.client.ModelControllerClient client)
public void setStandardPortOffset(int offset)
throws Exception
JBOSS_SYSPROP_PORT_OFFSET system property.offset - the new port offsetExceptionpublic void setPortOffset(String socketBindingGroupName, String sysPropName, int offset) throws Exception
JBOSS_SYSPROP_PORT_OFFSET system property
name as the sysPropName to follow the normal out-of-box JBossAS configuration, though you don't have to.socketBindingGroupName - name of the socket binding group whose port offset is to be setsysPropName - the name of the system property whose value is to be the port offsetoffset - the default port offset if the sysPropName is not definedExceptionpublic void setStandardSocketBindingPort(String socketBindingName, int port) throws Exception
socketBindingName - the name of the standard socket binding whose port is to be setport - the new port numberExceptionpublic void setStandardSocketBindingPortExpression(String socketBindingName, String sysPropName, int port) throws Exception
socketBindingName - the name of the standard socket binding whose port is to be setsysPropName - the name of the system property whose value is to be the port numberport - the default port number if the sysPropName is not definedExceptionpublic void setSocketBindingPort(String socketBindingGroupName, String socketBindingName, int port) throws Exception
socketBindingGroupName - the name of the socket binding group that has the named socket bindingsocketBindingName - the name of the socket binding whose port is to be setport - the new port numberExceptionpublic void setSocketBindingPortExpression(String socketBindingGroupName, String socketBindingName, String sysPropName, int port) throws Exception
socketBindingGroupName - the name of the socket binding group that has the named socket bindingsocketBindingName - the name of the socket binding whose port is to be setsysPropName - the name of the system property whose value is to be the port numberport - the default port number if the sysPropName is not definedExceptionpublic void setStandardSocketBindingInterface(String socketBindingName, String interfaceName) throws Exception
socketBindingName - the name of the standard socket binding whose interface is to be setinterfaceName - the new interface nameExceptionpublic void setStandardSocketBindingInterfaceExpression(String socketBindingName, String sysPropName, String interfaceName) throws Exception
socketBindingName - the name of the standard socket binding whose interface is to be setsysPropName - the name of the system property whose value is to be the interface nameinterfaceName - the default interface name if the sysPropName is not definedExceptionpublic void setSocketBindingPort(String socketBindingGroupName, String socketBindingName, String interfaceName) throws Exception
socketBindingGroupName - the name of the socket binding group that has the named socket bindingsocketBindingName - the name of the socket binding whose interface is to be setinterfaceName - the new interface nameExceptionpublic void setSocketBindingInterfaceExpression(String socketBindingGroupName, String socketBindingName, String sysPropName, String interfaceName) throws Exception
socketBindingGroupName - the name of the socket binding group that has the named socket bindingsocketBindingName - the name of the socket binding whose interface is to be setsysPropName - the name of the system property whose value is to be the interface nameinterfaceName - the default interface name if the sysPropName is not definedExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.