S - subject class@Beta public abstract class SubjectFactory<S> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SubjectFactory(Class<S> subjectClass,
String subjectKey)
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 |
subjectKey()
Returns the unique key of this configuration subject class.
|
protected SubjectFactory(Class<S> subjectClass, String subjectKey)
subjectClass - subject classsubjectKey - subject class keypublic Class<S> subjectClass()
public String subjectKey()
Copyright © 2015. All rights reserved.