|
JBoss EJB client 1.0.5.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EJBClientConfiguration
EJBClientConfiguration
is responsible for providing the configurations that will be used
for creating EJB receivers and managing the EJB client context. Some of these configurations are related
to remoting endpoints, connections which will be used to create RemotingConnectionEJBReceiver
s
for the EJBClientContext
Nested Class Summary | |
---|---|
static interface |
EJBClientConfiguration.ClusterConfiguration
Holds cluster specific configurations |
static interface |
EJBClientConfiguration.ClusterNodeConfiguration
Holds the cluster node specific configuration |
static interface |
EJBClientConfiguration.CommonConnectionCreationConfiguration
Holds the common configurations that are required for connection creation |
static interface |
EJBClientConfiguration.RemotingConnectionConfiguration
Holds the connection specific configurations |
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. |
Method Detail |
---|
String getEndpointName()
org.xnio.OptionMap getEndpointCreationOptions()
options
that will be used for creating the remoting
endpoint. This method must not return null.
org.xnio.OptionMap getRemoteConnectionProviderCreationOptions()
options
that will be used for creating a remote connection provider.
This method must not return null.
CallbackHandler getCallbackHandler()
CallbackHandler
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.
Iterator<EJBClientConfiguration.RemotingConnectionConfiguration> getConnectionConfigurations()
Iterator
Iterator<EJBClientConfiguration.ClusterConfiguration> getClusterConfigurations()
Iterator
EJBClientConfiguration.ClusterConfiguration getClusterConfiguration(String clusterName)
clusterName
.
Returns null if no such cluster configuration exists.
clusterName
- 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 |