public class EJBClientClusterConfig extends Object implements org.jboss.ejb.client.EJBClientConfiguration.ClusterConfiguration
| Constructor and Description |
|---|
EJBClientClusterConfig(EJBClientDescriptorMetaData.ClusterConfig clusterConfig,
ClassLoader deploymentClassLoader,
org.jboss.msc.service.ServiceRegistry serviceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClusterNode(org.jboss.ejb.client.EJBClientConfiguration.ClusterNodeConfiguration node) |
CallbackHandler |
getCallbackHandler() |
org.xnio.OptionMap |
getChannelCreationOptions() |
String |
getClusterName() |
org.jboss.ejb.client.ClusterNodeSelector |
getClusterNodeSelector() |
org.xnio.OptionMap |
getConnectionCreationOptions() |
long |
getConnectionTimeout() |
long |
getMaximumAllowedConnectedNodes() |
org.jboss.ejb.client.EJBClientConfiguration.ClusterNodeConfiguration |
getNodeConfiguration(String nodeName) |
protected static org.xnio.OptionMap |
getOptionMapFromProperties(Properties properties,
ClassLoader classLoader) |
boolean |
isConnectEagerly() |
protected void |
setCallbackHandler(org.jboss.msc.service.ServiceRegistry serviceRegistry,
String username,
String securityRealmName) |
protected void |
setChannelCreationOptions(org.xnio.OptionMap channelCreationOptions) |
protected void |
setConnectionCreationOptions(org.xnio.OptionMap connectionCreationOptions) |
protected void |
setConnectionTimeout(long timeout) |
public EJBClientClusterConfig(EJBClientDescriptorMetaData.ClusterConfig clusterConfig, ClassLoader deploymentClassLoader, org.jboss.msc.service.ServiceRegistry serviceRegistry)
public String getClusterName()
getClusterName in interface org.jboss.ejb.client.EJBClientConfiguration.ClusterConfigurationpublic long getMaximumAllowedConnectedNodes()
getMaximumAllowedConnectedNodes in interface org.jboss.ejb.client.EJBClientConfiguration.ClusterConfigurationpublic org.jboss.ejb.client.ClusterNodeSelector getClusterNodeSelector()
getClusterNodeSelector in interface org.jboss.ejb.client.EJBClientConfiguration.ClusterConfigurationpublic org.jboss.ejb.client.EJBClientConfiguration.ClusterNodeConfiguration getNodeConfiguration(String nodeName)
getNodeConfiguration in interface org.jboss.ejb.client.EJBClientConfiguration.ClusterConfigurationpublic void addClusterNode(org.jboss.ejb.client.EJBClientConfiguration.ClusterNodeConfiguration node)
public boolean isConnectEagerly()
isConnectEagerly in interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfigurationpublic org.xnio.OptionMap getConnectionCreationOptions()
getConnectionCreationOptions in interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfigurationpublic CallbackHandler getCallbackHandler()
getCallbackHandler in interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfigurationpublic long getConnectionTimeout()
getConnectionTimeout in interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfigurationpublic org.xnio.OptionMap getChannelCreationOptions()
getChannelCreationOptions in interface org.jboss.ejb.client.EJBClientConfiguration.CommonConnectionCreationConfigurationprotected void setChannelCreationOptions(org.xnio.OptionMap channelCreationOptions)
protected void setConnectionCreationOptions(org.xnio.OptionMap connectionCreationOptions)
protected void setConnectionTimeout(long timeout)
protected void setCallbackHandler(org.jboss.msc.service.ServiceRegistry serviceRegistry,
String username,
String securityRealmName)
protected static org.xnio.OptionMap getOptionMapFromProperties(Properties properties, ClassLoader classLoader)
Copyright © 2014 JBoss by Red Hat. All rights reserved.