org.jboss.remoting3
Class Remoting
java.lang.Object
org.jboss.remoting3.Remoting
public final class Remoting
- extends Object
The standalone interface into Remoting. This class contains static methods that are useful to standalone programs
for managing endpoints and services in a simple fashion.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConfiguredEndpoint
public static Endpoint getConfiguredEndpoint()
throws IOException
- Throws:
IOException
createEndpoint
public static Endpoint createEndpoint(String endpointName,
Executor executor,
org.jboss.xnio.OptionMap optionMap)
throws IOException
- Create an endpoint configured with the given option map. The following options are supported:
- Parameters:
endpointName - the endpoint nameexecutor - the thread pool to useoptionMap - the endpoint options
- Returns:
- the endpoint
- Throws:
IOException - if an error occurs
Copyright © 2010 JBoss, a division of Red Hat, Inc.