|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemotingServiceDescriptor<T>

A descriptor for automatically-discovered remoting service types. Since instances of this interface are constructed automatically, implementing classes should have a no-arg constructor.
To add an automatically-discovered service, create a file called "META-INF/services/org.jboss.remoting3.spi.RemotingServiceDescriptor"
and populate it with the names of classes that implement this interface.
ServiceLoader| Method Summary | |
|---|---|
String |
getName()
Get the name of this service. |
T |
getService(Properties properties)
Get the service to associate with the given name. |
Class<T> |
getType()
Get the type of service provided by this descriptor. |
| Method Detail |
|---|
Class<T> getType()
ConnectionProviderFactory.class - named connection provider URI schemeClassTable.class - named marshalling class tableObjectTable.class - named marshalling object tableClassExternalizerFactory.class - named marshalling externalizer factoryClassResolver.class - named marshalling class resolverObjectResolver.class - named marshalling object resolver
String getName()
T getService(Properties properties)
throws IOException
properties - the properties used to configure the endpoint
IOException - if the instance could not be produced
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||