Package org.jboss.ejb.protocol.remote
Class RemoteEJBService
- java.lang.Object
-
- org.jboss.ejb.protocol.remote.RemoteEJBService
-
public final class RemoteEJBService extends Object
The remote EJB service.- Author:
- David M. Lloyd, Richard Opalka
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteEJBServicecreate(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService)Create a new remote EJB service instance without any class resolution filter function.static RemoteEJBServicecreate(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService, Function<String,Boolean> classResolverFilter)Create a new remote EJB service instance.org.jboss.remoting3.OpenListenergetOpenListener()Get the service open listener.voidserverUp()Indicate that the server is up, which will allow client invocations to proceed.
-
-
-
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 benull)transactionService- the Remoting transaction server to use (must not benull)- 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 benull)transactionService- the Remoting transaction server to use (must not benull)classResolverFilter- filter function to apply to class names before resolving them during unmarshalling. Must returnBoolean.TRUEfor the classname to be resolved, else unmarshalling will fail. May benullin 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.
-
-