public static interface EJBClientConfiguration.CommonConnectionCreationConfiguration
Modifier and Type | Method and Description |
---|---|
CallbackHandler |
getCallbackHandler()
Returns the
CallbackHandler that will be used during connection creation. |
OptionMap |
getChannelCreationOptions()
|
OptionMap |
getConnectionCreationOptions()
Returns the
options that will be used during connection creation. |
long |
getConnectionTimeout()
Returns the connection timeout in milliseconds, that will be used during connection creation
|
boolean |
isConnectEagerly()
If this method returns true, then the EJB client API will try and connect to the destination host "eagerly".
|
OptionMap getConnectionCreationOptions()
options
that will be used during connection creation. This method must
not return nullCallbackHandler getCallbackHandler()
CallbackHandler
that will be used during connection creation. This method must
not return nulllong getConnectionTimeout()
OptionMap getChannelCreationOptions()
boolean isConnectEagerly()
EJBClientContext
is being created out of the EJBClientConfiguration
to which this connection configuration belongs.
On the other hand, if this method returns false, then the EJB client API will try to connect to the destination host only if no other node/EJBReceiver within the EJB client context
can handle a EJB invocation request. i.e. it tries to establish the connection lazily/on-demand.Copyright © 2016 JBoss by Red Hat. All rights reserved.