S - subject class@Beta public abstract class SubjectFactory<S> extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
SubjectFactory(Class<S> subjectClass,
              String subjectClassKey)
Creates a new configuration factory for the specified class of subjects
 capable of generating the configurations of the specified class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract S | 
createSubject(String subjectKey)
Creates a configuration subject from its key image. 
 | 
Class<S> | 
subjectClass()
Returns the class of the subject to which this factory applies. 
 | 
String | 
subjectClassKey()
Returns the unique key of this configuration subject class. 
 | 
String | 
subjectKey(S subject)
Returns the unique key of the specified configuration subject. 
 | 
protected SubjectFactory(Class<S> subjectClass, String subjectClassKey)
subjectClass - subject classsubjectClassKey - subject class keypublic Class<S> subjectClass()
public String subjectClassKey()
public String subjectKey(S subject)
subject - specific subject