org.apache.droids.helper.factories
Class ProtocolFactory
java.lang.Object
org.apache.droids.helper.factories.GenericFactory<Protocol>
org.apache.droids.helper.factories.ProtocolFactory
public class ProtocolFactory
- extends GenericFactory<Protocol>
Factory that will lookup a protocol plugin and return it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolFactory
public ProtocolFactory()
getProtocol
public Protocol getProtocol(String uri)
throws ProtocolNotFoundException
- Will lookup a protocol based on the underlying uri
- Parameters:
uri
- the string that contains the protocol
- Returns:
- ready to use protocol plugin or null if non have been found
- Throws:
ProtocolNotFoundException
Copyright © 2008 The Apache Software Foundation