Package org.jboss.as.ee.metadata
Class EJBClientDescriptorMetaData
- java.lang.Object
-
- org.jboss.as.ee.metadata.EJBClientDescriptorMetaData
-
public class EJBClientDescriptorMetaData extends Object
Metadata for configurations contained in jboss-ejb-client.xml descriptor- Author:
- Jaikiran Pai, Tomasz Adamski
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EJBClientDescriptorMetaData.ClusterConfig
class
EJBClientDescriptorMetaData.ClusterNodeConfig
static class
EJBClientDescriptorMetaData.HttpConnectionConfiguration
class
EJBClientDescriptorMetaData.RemotingReceiverConfiguration
-
Constructor Summary
Constructors Constructor Description EJBClientDescriptorMetaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EJBClientDescriptorMetaData.HttpConnectionConfiguration
addHttpConnectionRef(String uri)
Adds an HTTP connection by thisEJBClientDescriptorMetaData
EJBClientDescriptorMetaData.RemotingReceiverConfiguration
addRemotingReceiverConnectionRef(String outboundConnectionRef)
Adds an outbound connection reference used by a remoting receiver in the client context represented by thisEJBClientDescriptorMetaData
Collection<EJBClientDescriptorMetaData.ClusterConfig>
getClusterConfigs()
int
getDefaultCompression()
String
getDeploymentNodeSelector()
List<EJBClientDescriptorMetaData.HttpConnectionConfiguration>
getHttpConnectionConfigurations()
long
getInvocationTimeout()
String
getProfile()
Collection<EJBClientDescriptorMetaData.RemotingReceiverConfiguration>
getRemotingReceiverConfigurations()
Returns a collection of outbound connection references that are used by the remoting receivers configured in the client context of thisEJBClientDescriptorMetaData
Boolean
isLocalReceiverExcluded()
Returns true if the local receiver is disabled in the Jakarta Enterprise Beans client context represented by this metadata.Boolean
isLocalReceiverPassByValue()
If pass-by-value semantics for the local Jakarta Enterprise Beans receiver has been explicitly set, then returns that value.EJBClientDescriptorMetaData.ClusterConfig
newClusterConfig(String clusterName)
void
setDefaultCompression(int defaultCompression)
void
setDeploymentNodeSelector(String selector)
void
setExcludeLocalReceiver(Boolean excludeLocalReceiver)
Exclude/include the local receiver in the Jakarta Enterprise Beans client context represented by this metadata.void
setInvocationTimeout(long invocationTimeout)
void
setLocalReceiverPassByValue(Boolean passByValue)
Set the pass-by-value semantics for the local receiver belonging to the Jakarta Enterprise Beans client context represented by this metadatavoid
setProfile(String profile)
-
-
-
Method Detail
-
addRemotingReceiverConnectionRef
public EJBClientDescriptorMetaData.RemotingReceiverConfiguration addRemotingReceiverConnectionRef(String outboundConnectionRef)
Adds an outbound connection reference used by a remoting receiver in the client context represented by thisEJBClientDescriptorMetaData
- Parameters:
outboundConnectionRef
- The name of the outbound connection. Cannot be null or empty string.
-
addHttpConnectionRef
public EJBClientDescriptorMetaData.HttpConnectionConfiguration addHttpConnectionRef(String uri)
Adds an HTTP connection by thisEJBClientDescriptorMetaData
- Parameters:
uri
- The uri of the HTTP outbound connection. Cannot be null or empty string.
-
getRemotingReceiverConfigurations
public Collection<EJBClientDescriptorMetaData.RemotingReceiverConfiguration> getRemotingReceiverConfigurations()
Returns a collection of outbound connection references that are used by the remoting receivers configured in the client context of thisEJBClientDescriptorMetaData
- Returns:
-
getHttpConnectionConfigurations
public List<EJBClientDescriptorMetaData.HttpConnectionConfiguration> getHttpConnectionConfigurations()
-
setLocalReceiverPassByValue
public void setLocalReceiverPassByValue(Boolean passByValue)
Set the pass-by-value semantics for the local receiver belonging to the Jakarta Enterprise Beans client context represented by this metadata- Parameters:
passByValue
- True if pass-by-value. False otherwise.
-
isLocalReceiverPassByValue
public Boolean isLocalReceiverPassByValue()
If pass-by-value semantics for the local Jakarta Enterprise Beans receiver has been explicitly set, then returns that value. Else returns null.- Returns:
-
setExcludeLocalReceiver
public void setExcludeLocalReceiver(Boolean excludeLocalReceiver)
Exclude/include the local receiver in the Jakarta Enterprise Beans client context represented by this metadata.- Parameters:
excludeLocalReceiver
- True if local receiver has to be excluded in the Jakarta Enterprise Beans client context. False otherwise.
-
isLocalReceiverExcluded
public Boolean isLocalReceiverExcluded()
Returns true if the local receiver is disabled in the Jakarta Enterprise Beans client context represented by this metadata. Else returns false.- Returns:
-
getClusterConfigs
public Collection<EJBClientDescriptorMetaData.ClusterConfig> getClusterConfigs()
-
newClusterConfig
public EJBClientDescriptorMetaData.ClusterConfig newClusterConfig(String clusterName)
-
getInvocationTimeout
public long getInvocationTimeout()
-
setInvocationTimeout
public void setInvocationTimeout(long invocationTimeout)
-
getDeploymentNodeSelector
public String getDeploymentNodeSelector()
-
setDeploymentNodeSelector
public void setDeploymentNodeSelector(String selector)
-
getProfile
public String getProfile()
-
setProfile
public void setProfile(String profile)
-
getDefaultCompression
public int getDefaultCompression()
-
setDefaultCompression
public void setDefaultCompression(int defaultCompression)
-
-