Package org.eclipse.net4j
Class FactoriesProtocolProvider
java.lang.Object
org.eclipse.net4j.FactoriesProtocolProvider
- All Implemented Interfaces:
IProtocolProvider
Factory-based
protocol provider
.- Since:
- 2.0
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionFactoriesProtocolProvider
(org.eclipse.net4j.util.factory.IFactory factory) FactoriesProtocolProvider
(org.eclipse.net4j.util.registry.IRegistry<String, org.eclipse.net4j.util.factory.IFactory> registry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFactory
(org.eclipse.net4j.util.factory.IFactory factory) IProtocol<?>
getProtocol
(String type) org.eclipse.net4j.util.registry.IRegistry<String,
org.eclipse.net4j.util.factory.IFactory> void
setRegistry
(org.eclipse.net4j.util.registry.IRegistry<String, org.eclipse.net4j.util.factory.IFactory> registry)
-
Constructor Details
-
FactoriesProtocolProvider
public FactoriesProtocolProvider() -
FactoriesProtocolProvider
public FactoriesProtocolProvider(org.eclipse.net4j.util.registry.IRegistry<String, org.eclipse.net4j.util.factory.IFactory> registry) -
FactoriesProtocolProvider
public FactoriesProtocolProvider(org.eclipse.net4j.util.factory.IFactory factory)
-
-
Method Details
-
getRegistry
public org.eclipse.net4j.util.registry.IRegistry<String,org.eclipse.net4j.util.factory.IFactory> getRegistry() -
setRegistry
public void setRegistry(org.eclipse.net4j.util.registry.IRegistry<String, org.eclipse.net4j.util.factory.IFactory> registry) -
addFactory
public void addFactory(org.eclipse.net4j.util.factory.IFactory factory) -
getProtocol
- Specified by:
getProtocol
in interfaceIProtocolProvider
-