public interface EJBTransportProvider
Modifier and Type | Method and Description |
---|---|
EJBReceiver |
getReceiver(EJBReceiverContext receiverContext,
String uriScheme)
Get an EJB receiver for the protocol identified by the given URI scheme.
|
default 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.
|
default void notifyRegistered(EJBReceiverContext receiverContext)
receiverContext
- the EJB receiver context (not null
)boolean supportsProtocol(String uriScheme)
uriScheme
- the URI schemetrue
if this provider supports the protocol, false
otherwiseEJBReceiver getReceiver(EJBReceiverContext receiverContext, String uriScheme) throws IllegalArgumentException
receiverContext
- the receiver contexturiScheme
- the URI schemenull
EJB receiverIllegalArgumentException
- if the protocol is not supportedCopyright © 2019 JBoss by Red Hat. All rights reserved.