public final class RemoteEJBService extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
static RemoteEJBService |
create(Association association,
org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService,
Function<String,Boolean> classResolverFilter)
Create a new remote EJB service instance.
|
OpenListener |
getOpenListener()
Get the service open listener.
|
void |
serverUp()
Indicate that the server is up, which will allow client invocations to proceed.
|
public static RemoteEJBService create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService)
association
- the association to use (must not be null
)transactionService
- the Remoting transaction server to use (must not be null
)null
)public static RemoteEJBService create(Association association, org.wildfly.transaction.client.provider.remoting.RemotingTransactionService transactionService, Function<String,Boolean> classResolverFilter)
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 performednull
)public OpenListener getOpenListener()
public void serverUp()
Copyright © 2021 JBoss by Red Hat. All rights reserved.