Class RemoteEJBService

    • Method Detail

      • create

        public static RemoteEJBService create​(Association association,
                                              org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService)
        Create a new remote EJB 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 EJB 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 EJB 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 EJB 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.