org.eclipse.net4j.util.factory
Class FactoryDescriptor
java.lang.Object
org.eclipse.net4j.util.factory.Factory
org.eclipse.net4j.util.factory.FactoryDescriptor
- All Implemented Interfaces:
- IFactory
- public class FactoryDescriptor
- extends Factory
A factory
that delegates to an extension registry
contribution.
Example contribution:
<extension
point="org.eclipse.net4j.util.factories">
<factory
class="org.eclipse.net4j.util.concurrent.TimerLifecycle$DaemonFactory"
productGroup="org.eclipse.net4j.util.timers"
type="daemon"/>
</extension>
- No Extend
- This class is not intended to be subclassed by clients.
FactoryDescriptor
public FactoryDescriptor(IConfigurationElement configurationElement)
getConfigurationElement
public IConfigurationElement getConfigurationElement()
createFactory
public IFactory createFactory()
create
public Object create(String description)
getDescriptionFor
public String getDescriptionFor(Object product)
- Specified by:
getDescriptionFor
in interface IFactory
- Overrides:
getDescriptionFor
in class Factory
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.