Class RemoteEJBService

java.lang.Object
org.jboss.ejb.protocol.remote.RemoteEJBService

public final class RemoteEJBService extends Object
The remote Enterprise Beans service.
Author:
David M. Lloyd, Richard Opalka
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService)
    Create a new remote Enterprise Bean service instance without any class resolution filter function.
    create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService, Function<String,Boolean> classResolverFilter)
    Create a new remote Enterprise Bean service instance.
    org.jboss.remoting3.OpenListener
    Get the service open listener.
    void
    Indicate that the server is up, which will allow client invocations to proceed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static RemoteEJBService create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService)
      Create a new remote Enterprise Bean service instance without any class resolution filter function.
      Parameters:
      association - the association to use (must not be null)
      transactionService - the Remoting transaction server to use (must not be null)
      Returns:
      the remote Enterprise Beans service instance (not null)
    • create

      public static RemoteEJBService create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService, Function<String,Boolean> classResolverFilter)
      Create a new remote Enterprise Bean service instance.
      Parameters:
      association - the association to use (must not be null)
      transactionService - the Remoting transaction server to use (must not be null)
      classResolverFilter - filter function to apply to class names before resolving them during unmarshalling. Must return Boolean.TRUE for the classname to be resolved, else unmarshalling will fail. May be null in which case no filtering is performed
      Returns:
      the remote Enterprise Beans service instance (not null)
    • getOpenListener

      public org.jboss.remoting3.OpenListener getOpenListener()
      Get the service open listener.
      Returns:
      the service open listener
    • serverUp

      public void serverUp()
      Indicate that the server is up, which will allow client invocations to proceed. This method must be called in order for invocations to flow through the server.