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 classEJBClientDescriptorMetaData.ClusterConfigclassEJBClientDescriptorMetaData.ClusterNodeConfigstatic classEJBClientDescriptorMetaData.HttpConnectionConfigurationclassEJBClientDescriptorMetaData.RemotingReceiverConfiguration
-
Constructor Summary
Constructors Constructor Description EJBClientDescriptorMetaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EJBClientDescriptorMetaData.HttpConnectionConfigurationaddHttpConnectionRef(String uri)Adds an HTTP connection by thisEJBClientDescriptorMetaDataEJBClientDescriptorMetaData.RemotingReceiverConfigurationaddRemotingReceiverConnectionRef(String outboundConnectionRef)Adds an outbound connection reference used by a remoting receiver in the client context represented by thisEJBClientDescriptorMetaDataCollection<EJBClientDescriptorMetaData.ClusterConfig>getClusterConfigs()intgetDefaultCompression()StringgetDeploymentNodeSelector()List<EJBClientDescriptorMetaData.HttpConnectionConfiguration>getHttpConnectionConfigurations()longgetInvocationTimeout()StringgetProfile()Collection<EJBClientDescriptorMetaData.RemotingReceiverConfiguration>getRemotingReceiverConfigurations()Returns a collection of outbound connection references that are used by the remoting receivers configured in the client context of thisEJBClientDescriptorMetaDataBooleanisLocalReceiverExcluded()Returns true if the local receiver is disabled in the Jakarta Enterprise Beans client context represented by this metadata.BooleanisLocalReceiverPassByValue()If pass-by-value semantics for the local Jakarta Enterprise Beans receiver has been explicitly set, then returns that value.EJBClientDescriptorMetaData.ClusterConfignewClusterConfig(String clusterName)voidsetDefaultCompression(int defaultCompression)voidsetDeploymentNodeSelector(String selector)voidsetExcludeLocalReceiver(Boolean excludeLocalReceiver)Exclude/include the local receiver in the Jakarta Enterprise Beans client context represented by this metadata.voidsetInvocationTimeout(long invocationTimeout)voidsetLocalReceiverPassByValue(Boolean passByValue)Set the pass-by-value semantics for the local receiver belonging to the Jakarta Enterprise Beans client context represented by this metadatavoidsetProfile(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)
-
-