I
- public abstract class BaseEntity<I>
extends java.lang.Object
BaseEntityFactory
. After that user may create any number of
classes that extend the abstract class. Each of these concrete implementations will self-insert itself into its
factory. See the javadoc for the com.mgnt.lifecycle.management
package and source code in package
com.mgnt.lifecycle.management.example
for detailed explanation on how to use this classConstructor and Description |
---|
BaseEntity(java.lang.String factoryKey)
Constructor that places the instance into the factory with default key value which is the class name
|
BaseEntity(java.lang.String factoryKey,
java.lang.String key)
This constructor is responsible for inserting instance of any class that extends this class directly or indirectly
into corresponding factory
|
public BaseEntity(java.lang.String factoryKey)
factoryKey
- the key to extract corresponding factory from factory mappublic BaseEntity(java.lang.String factoryKey, java.lang.String key)
factoryKey
- the key to extract corresponding factory from factory mapkey
- The key to extract an an instance of a class that extends this class from a factory. If null then it is
assumed that the class name is the key