Package org.jboss.as.ee.metadata
Class EJBClientDescriptorMetaData
java.lang.Object
org.jboss.as.ee.metadata.EJBClientDescriptorMetaData
Metadata for configurations contained in jboss-ejb-client.xml descriptor
- Author:
- Jaikiran Pai, Tomasz Adamski
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassstatic final classclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an HTTP connection by thisEJBClientDescriptorMetaDataaddRemotingReceiverConnectionRef(String outboundConnectionRef) Adds an outbound connection reference used by a remoting receiver in the client context represented by thisEJBClientDescriptorMetaDataintlongReturns a collection of outbound connection references that are used by the remoting receivers configured in the client context of thisEJBClientDescriptorMetaDataReturns true if the local receiver is disabled in the Jakarta Enterprise Beans client context represented by this metadata.If pass-by-value semantics for the local Jakarta Enterprise Beans receiver has been explicitly set, then returns that value.newClusterConfig(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)
-
Constructor Details
-
EJBClientDescriptorMetaData
public EJBClientDescriptorMetaData()
-
-
Method Details
-
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
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
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
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
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
Returns true if the local receiver is disabled in the Jakarta Enterprise Beans client context represented by this metadata. Else returns false.- Returns:
-
getClusterConfigs
-
newClusterConfig
-
getInvocationTimeout
public long getInvocationTimeout() -
setInvocationTimeout
public void setInvocationTimeout(long invocationTimeout) -
getDeploymentNodeSelector
-
setDeploymentNodeSelector
-
getProfile
-
setProfile
-
getDefaultCompression
public int getDefaultCompression() -
setDefaultCompression
public void setDefaultCompression(int defaultCompression)
-