Package org.jboss.ejb.protocol.remote
Class RemoteTransportProvider
java.lang.Object
org.jboss.ejb.protocol.remote.RemoteTransportProvider
- All Implemented Interfaces:
EJBTransportProvider
@MetaInfServices
public final class RemoteTransportProvider
extends Object
implements EJBTransportProvider
The JBoss Remoting-based transport provider.
- Author:
- David M. Lloyd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(EJBReceiverContext receiverContext) getReceiver(EJBReceiverContext receiverContext, String uriScheme) Get an Enterprise Bean receiver for the protocol identified by the given URI scheme.voidnotifyRegistered(EJBReceiverContext receiverContext) Notify the provider instance that it has been registered with the given client context.booleansupportsProtocol(String uriScheme) Determine whether this transport provider supports the protocol identified by the given URI scheme.
-
Constructor Details
-
RemoteTransportProvider
public RemoteTransportProvider()
-
-
Method Details
-
notifyRegistered
Description copied from interface:EJBTransportProviderNotify the provider instance that it has been registered with the given client context.- Specified by:
notifyRegisteredin interfaceEJBTransportProvider- Parameters:
receiverContext- the Enterprise Beans receiver context (notnull)
-
supportsProtocol
Description copied from interface:EJBTransportProviderDetermine whether this transport provider supports the protocol identified by the given URI scheme.- Specified by:
supportsProtocolin interfaceEJBTransportProvider- Parameters:
uriScheme- the URI scheme- Returns:
trueif this provider supports the protocol,falseotherwise
-
getReceiver
public EJBReceiver getReceiver(EJBReceiverContext receiverContext, String uriScheme) throws IllegalArgumentException Description copied from interface:EJBTransportProviderGet an Enterprise Bean receiver for the protocol identified by the given URI scheme.- Specified by:
getReceiverin interfaceEJBTransportProvider- Parameters:
receiverContext- the receiver contexturiScheme- the URI scheme- Returns:
- the non-
nullEnterprise Beans receiver - Throws:
IllegalArgumentException- if the protocol is not supported
-
close
- Specified by:
closein interfaceEJBTransportProvider- Throws:
Exception
-