JBoss Remoting 3.1.0.Beta1

org.jboss.remoting3.remote
Class RemoteProtocolDescriptor

java.lang.Object
  extended by org.jboss.remoting3.remote.RemoteProtocolDescriptor
All Implemented Interfaces:
RemotingServiceDescriptor<ConnectionProviderFactory>

public final class RemoteProtocolDescriptor
extends Object
implements RemotingServiceDescriptor<ConnectionProviderFactory>

The protocol descriptor for the "remote" connection protocol. This class is used to auto-detect the "remote" protocol in standalone environments.


Constructor Summary
RemoteProtocolDescriptor()
           
 
Method Summary
 String getName()
          Get the name of this service.
 ConnectionProviderFactory getService(Properties properties)
          Get the service to associate with the given name.
 Class<ConnectionProviderFactory> getType()
          Get the type of service provided by this descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProtocolDescriptor

public RemoteProtocolDescriptor()
Method Detail

getType

public Class<ConnectionProviderFactory> getType()
Description copied from interface: RemotingServiceDescriptor
Get the type of service provided by this descriptor. Only the following types are supported: Other types are ignored, allowing new types to be added in the future while maintaining compatibility with older versions.

Specified by:
getType in interface RemotingServiceDescriptor<ConnectionProviderFactory>
Returns:
the type of remoting service

getName

public String getName()
Description copied from interface: RemotingServiceDescriptor
Get the name of this service.

Specified by:
getName in interface RemotingServiceDescriptor<ConnectionProviderFactory>
Returns:
the name

getService

public ConnectionProviderFactory getService(Properties properties)
                                     throws IOException
Description copied from interface: RemotingServiceDescriptor
Get the service to associate with the given name. The given properties were used to configure the endpoint, and may be used to configure additional properties of this provider.

Specified by:
getService in interface RemotingServiceDescriptor<ConnectionProviderFactory>
Parameters:
properties - the properties used to configure the endpoint
Returns:
the service
Throws:
IOException - if the instance could not be produced

JBoss Remoting 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.