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
  • 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 this EJBClientDescriptorMetaData
      Parameters:
      outboundConnectionRef - The name of the outbound connection. Cannot be null or empty string.
    • addHttpConnectionRef

      Adds an HTTP connection by this EJBClientDescriptorMetaData
      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 this EJBClientDescriptorMetaData
      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

    • 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)