org.apache.geronimo.gshell.whisper.transport
Class TransportFactoryLocator<T extends TransportFactory>

java.lang.Object
  extended by org.apache.geronimo.gshell.whisper.transport.TransportFactoryLocator<T>

@Component(role=TransportFactoryLocator.class)
public class TransportFactoryLocator<T extends TransportFactory>
extends Object

Helper to locate a TransportFactory instance.

Version:
$Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $

Constructor Summary
TransportFactoryLocator()
           
 
Method Summary
 org.codehaus.plexus.PlexusContainer getContainer()
           
 T locate(URI location)
           
 void setContainer(org.codehaus.plexus.PlexusContainer container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportFactoryLocator

public TransportFactoryLocator()
Method Detail

getContainer

public org.codehaus.plexus.PlexusContainer getContainer()

setContainer

public void setContainer(org.codehaus.plexus.PlexusContainer container)

locate

public T locate(URI location)
                                  throws InvalidLocationException,
                                         org.codehaus.plexus.component.repository.exception.ComponentLookupException
Throws:
InvalidLocationException
org.codehaus.plexus.component.repository.exception.ComponentLookupException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.