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
Modifier and Type | Interface and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.RemotingConnectionConfiguration> |
getConnectionConfigurations()
Returns the connection configurations.
|
DeploymentNodeSelector |
getDeploymentNodeSelector()
Returns the
DeploymentNodeSelector to be used for the EJBClientContext created
out of this EJBClientConfiguration . |
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.
|
long |
getInvocationTimeout()
Returns the timeout, in milliseconds, that will be used for EJB invocations.
|
long |
getReconnectTasksTimeout()
Returns the wait timeout, in milliseconds, that will be used when the reconnect tasks are submitted.
|
OptionMap |
getRemoteConnectionProviderCreationOptions()
Returns the
options that will be used for creating a remote connection provider. |
String getEndpointName()
OptionMap getEndpointCreationOptions()
options
that will be used for creating the remoting
endpoint. This method must not return null.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
EJBClientConfiguration.ClusterConfiguration getClusterConfiguration(String clusterName)
clusterName
.
Returns null if no such cluster configuration exists.clusterName
- The name of the clusterlong getInvocationTimeout()
long getReconnectTasksTimeout()
DeploymentNodeSelector getDeploymentNodeSelector()
DeploymentNodeSelector
to be used for the EJBClientContext
created
out of this EJBClientConfiguration
. If this method returns null, then it's upto the implementation
to use some default DeploymentNodeSelector
Copyright © 2016 JBoss by Red Hat. All rights reserved.