Package org.oddjob.arooa.types
Interface ValueFactory<T>
- Type Parameters:
T- The type that the value will resolve to.
- All Superinterfaces:
ArooaValue
- All Known Implementing Classes:
AttachmentPart,BeanViewBean,ComparisonType,ConnectionType,DependenciesFactory,DirectInvocationBean,ExecutorThrottleType,FileKeyPair,HandlerListType,HierarchicalArrayFactoryBean,HostnameVerifierType,InlineType,JettyInvokerHandler,JettyNotifierEndpointHandler,MagicBeanType,MagicClassType,OddballFactoryType,OddjobRestHandler,PromptSecretProvider,PuttyKeyPair,ResolverSessionType,ResourceHandlerType,SequenceType,SimpleServerSecurity,SshConnectionValue,StdinType,TextPart,URLClassLoaderType,UsernamePassword,VanillaInterfaceHandler,WebServerHandler,WebServerHandlerJmx,WrapperOfFactory,XMLConfigurationType
An interface for simple
ArooaValues that only resolve to a
thing of a single type.
Implementing this interface saves the new Type the trouble of needing to register a conversion.
- Author:
- rob
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
toValue
Provide an instance of the type this is a factory for.- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException- If unable to provide a value.
-