|
JBoss EJB client 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.client.PropertiesBasedEJBClientConfiguration
public class PropertiesBasedEJBClientConfiguration
A EJBClientConfiguration which is configured through Properties. Some well known
properties will be looked for in the Properties that is passed to the constructor,
for setting up the configurations
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.ejb.client.EJBClientConfiguration |
|---|
EJBClientConfiguration.ClusterConfiguration, EJBClientConfiguration.ClusterNodeConfiguration, EJBClientConfiguration.CommonConnectionCreationConfiguration, EJBClientConfiguration.RemotingConnectionConfiguration |
| Constructor Summary | |
|---|---|
PropertiesBasedEJBClientConfiguration(Properties properties)
|
|
| Method Summary | |
|---|---|
CallbackHandler |
getCallbackHandler()
Returns the default CallbackHandler that will be used while creating remoting connections. |
EJBClientConfiguration.ClusterConfiguration |
getClusterConfiguration(String clusterName)
Returns a cluster configuration corresponding to the passed clusterName. |
Iterator<EJBClientConfiguration.ClusterConfiguration> |
getClusterConfigurations()
Returns the cluster configurations. |
Iterator<EJBClientConfiguration.RemotingConnectionConfiguration> |
getConnectionConfigurations()
Returns the connection configurations. |
org.xnio.OptionMap |
getEndpointCreationOptions()
Returns the endpoint creation options that will be used for creating the remoting
endpoint. |
String |
getEndpointName()
Returns the endpoint name to be used for creating the remoting endpoint. |
org.xnio.OptionMap |
getRemoteConnectionProviderCreationOptions()
Returns the options that will be used for creating a remote connection provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesBasedEJBClientConfiguration(Properties properties)
| Method Detail |
|---|
public String getEndpointName()
EJBClientConfiguration
getEndpointName in interface EJBClientConfigurationpublic org.xnio.OptionMap getEndpointCreationOptions()
EJBClientConfigurationoptions that will be used for creating the remoting
endpoint. This method must not return null.
getEndpointCreationOptions in interface EJBClientConfigurationpublic org.xnio.OptionMap getRemoteConnectionProviderCreationOptions()
EJBClientConfigurationoptions that will be used for creating a remote connection provider.
This method must not return null.
getRemoteConnectionProviderCreationOptions in interface EJBClientConfigurationpublic CallbackHandler getCallbackHandler()
EJBClientConfigurationCallbackHandler that will be used while creating remoting connections.
Individual connection configurations, cluster configurations, cluster node configurations can override
the CallbackHandler to be used while creating the connections
This method must not return null.
getCallbackHandler in interface EJBClientConfigurationpublic Iterator<EJBClientConfiguration.RemotingConnectionConfiguration> getConnectionConfigurations()
EJBClientConfigurationIterator
getConnectionConfigurations in interface EJBClientConfigurationpublic Iterator<EJBClientConfiguration.ClusterConfiguration> getClusterConfigurations()
EJBClientConfigurationIterator
getClusterConfigurations in interface EJBClientConfigurationpublic EJBClientConfiguration.ClusterConfiguration getClusterConfiguration(String clusterName)
EJBClientConfigurationclusterName.
Returns null if no such cluster configuration exists.
getClusterConfiguration in interface EJBClientConfigurationclusterName - The name of the cluster
|
JBoss EJB client 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||