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) 2014 Eike Stepper (Berlin, 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