org.eclipse.net4j
Class FactoriesProtocolProvider
java.lang.Object
org.eclipse.net4j.FactoriesProtocolProvider
- All Implemented Interfaces:
- IProtocolProvider
- public class FactoriesProtocolProvider
- extends Object
- implements IProtocolProvider
Factory-based protocol provider
.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoriesProtocolProvider
public FactoriesProtocolProvider()
FactoriesProtocolProvider
public FactoriesProtocolProvider(IRegistry<String,IFactory> registry)
FactoriesProtocolProvider
public FactoriesProtocolProvider(IFactory factory)
getRegistry
public IRegistry<String,IFactory> getRegistry()
setRegistry
public void setRegistry(IRegistry<String,IFactory> registry)
addFactory
public void addFactory(IFactory factory)
getProtocol
public IProtocol<?> getProtocol(String type)
- Specified by:
getProtocol
in interface IProtocolProvider
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.