org.eclipse.net4j.util.factory
Class Factory

java.lang.Object
  extended by org.eclipse.net4j.util.factory.Factory
All Implemented Interfaces:
IFactory
Direct Known Subclasses:
CredentialsProviderFactory, ElementWizardFactory, ExecutorServiceFactory, FactoryDescriptor, NegotiatorFactory, RandomizerFactory, TimerLifecycle.DaemonFactory, UserManagerFactory

public abstract class Factory
extends Object
implements IFactory

A default implementation of a factory.


Constructor Summary
Factory(FactoryKey key)
           
Factory(String productGroup, String type)
           
 
Method Summary
 String getDescriptionFor(Object product)
           
 FactoryKey getKey()
           
 String getProductGroup()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.net4j.util.factory.IFactory
create
 

Constructor Detail

Factory

public Factory(FactoryKey key)

Factory

public Factory(String productGroup,
               String type)
Method Detail

getKey

public FactoryKey getKey()
Specified by:
getKey in interface IFactory

getProductGroup

public String getProductGroup()

getType

public String getType()

getDescriptionFor

public String getDescriptionFor(Object product)
Specified by:
getDescriptionFor in interface IFactory

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.