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 |
|---|---|
java.lang.Object |
create(java.lang.String description) |
IFactory |
createFactory() |
IConfigurationElement |
getConfigurationElement() |
java.lang.String |
getDescriptionFor(java.lang.Object product) |
getKey, getProductGroup, getType, toStringpublic FactoryDescriptor(IConfigurationElement configurationElement)
public IConfigurationElement getConfigurationElement()
public IFactory createFactory()
public java.lang.Object create(java.lang.String description)
public java.lang.String getDescriptionFor(java.lang.Object product)
getDescriptionFor in interface IFactorygetDescriptionFor in class FactoryCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html