Class FactoryBuilder.ClassFactory<T>
java.lang.Object
javax.cache.configuration.FactoryBuilder.ClassFactory<T>
- Type Parameters:
T- the type of the instance produced by theFactory
- All Implemented Interfaces:
Serializable, Factory<T>
- Enclosing class:
FactoryBuilder
public static class FactoryBuilder.ClassFactory<T>
extends Object
implements Factory<T>, Serializable
A
Factory that instantiates a specific Class.- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe name of the Class.static final longThe serialVersionUID required forSerializable. -
Constructor Summary
ConstructorsConstructorDescriptionClassFactory(Class<T> clazz) Constructor for theFactoryBuilder.ClassFactory.ClassFactory(String className) Constructor for theFactoryBuilder.ClassFactory. -
Method Summary
-
Field Details
-
serialVersionUID
-
className
The name of the Class.
-
-
Constructor Details
-
ClassFactory
Constructor for theFactoryBuilder.ClassFactory.- Parameters:
clazz- the Class to instantiate
-
ClassFactory
Constructor for theFactoryBuilder.ClassFactory.- Parameters:
className- the name of the Class to instantiate
-
-
Method Details
-
create
-
equals
-
hashCode
-