Package org.jboss.ejb.client
Class EJBClientConnection
- java.lang.Object
-
- org.jboss.ejb.client.EJBClientConnection
-
public final class EJBClientConnection extends Object
Information about a configured connection on an EJB client context.- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEJBClientConnection.BuilderA builder for a client connection definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetDestination()Get the connection destination URI.booleanisForDiscovery()Determine if this connection definition is intended to be used for discovery.StringtoString()
-
-
-
Method Detail
-
getDestination
public URI getDestination()
Get the connection destination URI.- Returns:
- the connection destination URI (not
null)
-
isForDiscovery
public boolean isForDiscovery()
Determine if this connection definition is intended to be used for discovery.- Returns:
trueto use this connection for discovery if possible,falseotherwise
-
-