Package org.eclipse.net4j.util.factory
Interface IFactory
-
- All Known Subinterfaces:
IManagedContainerFactory
- All Known Implementing Classes:
AuthenticatorFactory
,ChallengeNegotiatorFactory
,CredentialsProviderFactory
,DelegableReentrantLock.DelegateDetector.Factory
,ElementWizardFactory
,ExecutorServiceFactory
,Factory
,FactoryDescriptor
,FileAuthenticatorFactory
,FileUserManagerFactory
,GZIPStreamWrapper.Factory
,IConfirmationProvider.Factory
,IConfirmationProvider.Factory.Default
,InteractiveConfirmationProvider.Factory
,IStreamWrapper.Factory
,MenuFiller.Factory
,NegotiatorFactory
,PropertiesFactory
,RandomizerFactory
,ResponseNegotiatorFactory
,TimerLifecycle.DaemonFactory
,UserManagerFactory
public interface IFactory
Creates
objects from a stringdescription
.If a factory is registered in an
IManagedContainer
, theIManagedContainerFactory
extension interface injects that container into the factory for it to reach back into to obtain dependencies.- Author:
- Eike Stepper
- See Also:
IManagedContainerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
create(java.lang.String description)
java.lang.String
getDescriptionFor(java.lang.Object product)
IFactoryKey
getKey()
-
-
-
Method Detail
-
getKey
IFactoryKey getKey()
-
create
java.lang.Object create(java.lang.String description) throws ProductCreationException
- Throws:
ProductCreationException
-
getDescriptionFor
java.lang.String getDescriptionFor(java.lang.Object product)
-
-