org.apache.activemq.apollo.transport
Class TransportFactory

java.lang.Object
  extended by org.apache.activemq.apollo.transport.TransportFactory

public class TransportFactory
extends java.lang.Object

Author:
Hiram Chirino

Nested Class Summary
static interface TransportFactory.Provider
           
 
Field Summary
static ClassFinder<TransportFactory.Provider> providers
           
 
Constructor Summary
TransportFactory()
           
 
Method Summary
static TransportServer bind(java.lang.String location)
          Creates a transport server.
static Transport connect(java.lang.String location)
          Creates a client transport.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providers

public static final ClassFinder<TransportFactory.Provider> providers
Constructor Detail

TransportFactory

public TransportFactory()
Method Detail

connect

public static Transport connect(java.lang.String location)
                         throws java.lang.Exception
Creates a client transport.

Throws:
java.lang.Exception

bind

public static TransportServer bind(java.lang.String location)
                            throws java.lang.Exception
Creates a transport server.

Throws:
java.lang.Exception


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.