Class Factory
java.lang.Object
org.eclipse.net4j.util.factory.Factory
- All Implemented Interfaces:
IFactory, IFactoryKeyAware
- Direct Known Subclasses:
AuthenticatorFactory, AuthorizableOperationFactory, ChatRenderer.AvatarGenerator.Default.Factory, ChatRenderer.Factory, CredentialsProviderFactory, DelegableReentrantLock.DelegateDetector.Factory, ElementWizardFactory, EntryControlAdvisor.Factory, ExceptionHandler.Factory, ExecutorServiceFactory, IConfirmationProvider.Factory, IntrospectionProvider.Factory, IStreamWrapper.Factory, MenuFiller.Factory, MetaFactory, NegotiatorFactory, OpenHandler.Factory, OperationAuthorizerFactory, PropertiesFactory, PropertyExtender.Factory, RandomizerFactory, SingletonFactory, TimerLifecycle.DaemonFactory, TreeFactory, UserManagerFactory, ValueFormatter.Factory
A default implementation of a
factory.- Author:
- Eike Stepper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptionFor(Object product) getKey()getType()protected final ProductCreationExceptionproductCreationException(String description) protected final ProductCreationExceptionproductCreationException(String description, Throwable cause) voidsetFactoryKey(IFactoryKey factoryKey) toString()
-
Field Details
-
NO_DESCRIPTION
- Since:
- 3.23
-
-
Constructor Details
-
Factory
public Factory()- Since:
- 3.23
-
Factory
-
Factory
- Since:
- 3.23
-
Factory
-
Factory
- Since:
- 3.16
-
-
Method Details
-
getFactoryKey
- Since:
- 3.23
-
setFactoryKey
- Specified by:
setFactoryKeyin interfaceIFactoryKeyAware
-
getKey
-
getProductGroup
-
getType
-
getDescriptionFor
- Specified by:
getDescriptionForin interfaceIFactory
-
productCreationException
protected final ProductCreationException productCreationException(String description, Throwable cause) - Since:
- 3.23
-
productCreationException
- Since:
- 3.23
-
toString
-