@MetaInfServices public final class RemoteTransportProvider extends Object implements EJBTransportProvider
Constructor and Description |
---|
RemoteTransportProvider() |
Modifier and Type | Method and Description |
---|---|
void |
close(EJBReceiverContext receiverContext) |
EJBReceiver |
getReceiver(EJBReceiverContext receiverContext,
String uriScheme)
Get an EJB receiver for the protocol identified by the given URI scheme.
|
void |
notifyRegistered(EJBReceiverContext receiverContext)
Notify the provider instance that it has been registered with the given client context.
|
boolean |
supportsProtocol(String uriScheme)
Determine whether this transport provider supports the protocol identified by the given URI scheme.
|
public void notifyRegistered(EJBReceiverContext receiverContext)
EJBTransportProvider
notifyRegistered
in interface EJBTransportProvider
receiverContext
- the EJB receiver context (not null
)public boolean supportsProtocol(String uriScheme)
EJBTransportProvider
supportsProtocol
in interface EJBTransportProvider
uriScheme
- the URI schemetrue
if this provider supports the protocol, false
otherwisepublic EJBReceiver getReceiver(EJBReceiverContext receiverContext, String uriScheme) throws IllegalArgumentException
EJBTransportProvider
getReceiver
in interface EJBTransportProvider
receiverContext
- the receiver contexturiScheme
- the URI schemenull
EJB receiverIllegalArgumentException
- if the protocol is not supportedpublic void close(EJBReceiverContext receiverContext) throws Exception
close
in interface EJBTransportProvider
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.