Package org.jboss.ejb.protocol.remote
Class RemoteEJBService
java.lang.Object
org.jboss.ejb.protocol.remote.RemoteEJBService
The remote Enterprise Beans service.
- Author:
- David M. Lloyd, Richard Opalka
-
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteEJBServicecreate(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService) Create a new remote Enterprise Bean 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 Enterprise Bean service instance.org.jboss.remoting3.OpenListenerGet the service open listener.voidserverUp()Indicate that the server is up, which will allow client invocations to proceed.
-
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 benull)transactionService- the Remoting transaction server to use (must not benull)- 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 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 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.
-