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, toString
public FactoryDescriptor(IConfigurationElement configurationElement)
public IConfigurationElement getConfigurationElement()
public IFactory createFactory()
public String getDescriptionFor(Object product)
getDescriptionFor
in interface IFactory
getDescriptionFor
in class Factory
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.