java.lang.Object
org.apache.geronimo.gshell.whisper.transport.base.BaseTransportFactory<T,TC,S,SC>
- All Implemented Interfaces:
- TransportFactory
- Direct Known Subclasses:
- TcpTransportFactory, VmTransportFactory
public abstract class BaseTransportFactory<T extends BaseTransport,TC extends Transport.Configuration,S extends BaseTransportServer,SC extends TransportServer.Configuration>
- extends Object
- implements TransportFactory
Support for TransportFactory implementations.
- Version:
- $Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $
|
Field Summary |
protected org.codehaus.plexus.PlexusContainer |
container
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
@Requirement
protected org.codehaus.plexus.PlexusContainer container
BaseTransportFactory
protected BaseTransportFactory(String scheme)
getScheme
public String getScheme()
- Specified by:
getScheme in interface TransportFactory
connect
public T connect(URI remote,
URI local,
TC config)
throws Exception
- Throws:
Exception
connect
public T connect(URI remote,
URI local,
org.apache.mina.common.IoHandler handler)
throws Exception
- Specified by:
connect in interface TransportFactory
- Throws:
Exception
bind
public S bind(URI location,
SC config)
throws Exception
- Throws:
Exception
bind
public S bind(URI location,
org.apache.mina.common.IoHandler handler)
throws Exception
- Specified by:
bind in interface TransportFactory
- Throws:
Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.