|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface EJBClientConfiguration.CommonConnectionCreationConfiguration
Holds the common configurations that are required for connection creation
| Method Summary | |
|---|---|
CallbackHandler |
getCallbackHandler()
Returns the CallbackHandler that will be used during connection creation. |
org.xnio.OptionMap |
getChannelCreationOptions()
Returns the options that will be used during creation of a Channel
for the connection |
org.xnio.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". |
| Method Detail |
|---|
org.xnio.OptionMap getConnectionCreationOptions()
options that will be used during connection creation. This method must
not return null
CallbackHandler getCallbackHandler()
CallbackHandler that will be used during connection creation. This method must
not return null
long getConnectionTimeout()
org.xnio.OptionMap getChannelCreationOptions()
options that will be used during creation of a Channel
for the connection
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.
|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||