
public class FactoryDescriptor extends Factory
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>
| Constructor and Description |
|---|
FactoryDescriptor(IConfigurationElement configurationElement) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(String description) |
IFactory |
createFactory() |
IConfigurationElement |
getConfigurationElement() |
String |
getDescriptionFor(Object product) |
getKey, getProductGroup, getType, toStringpublic FactoryDescriptor(IConfigurationElement configurationElement)
public IConfigurationElement getConfigurationElement()
public IFactory createFactory()
public String getDescriptionFor(Object product)
getDescriptionFor in interface IFactorygetDescriptionFor in class FactoryCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.