|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.specloader.classsubstitutor.ClassSubstitutorAbstract
public abstract class ClassSubstitutorAbstract
| Constructor Summary | |
|---|---|
ClassSubstitutorAbstract()
Will implicitly ignore the DomainObjectContainer. |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getClass(java.lang.Class<?> cls)
Hook method for subclasses to override if required. |
java.util.Set<java.lang.Class<?>> |
getIgnoredClasses()
|
protected boolean |
ignore(java.lang.Class<?> q)
For any classes registered as ignored, getClass(Class)
will return null. |
void |
init()
Default implementation does nothing. |
void |
injectInto(java.lang.Object candidate)
Will inject itself into the candidate if the candidate implements the corresponding *Aware type. |
void |
shutdown()
Default implementation does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassSubstitutorAbstract()
DomainObjectContainer.
| Method Detail |
|---|
public void init()
init in interface ApplicationScopedComponentpublic void shutdown()
shutdown in interface ApplicationScopedComponentpublic java.lang.Class<?> getClass(java.lang.Class<?> cls)
Default implementation will either return the class, unless
has been registered as to be ignored, in
which case returns null.
getClass in interface ClassSubstitutorprotected boolean ignore(java.lang.Class<?> q)
getClass(Class)
will return null.
public java.util.Set<java.lang.Class<?>> getIgnoredClasses()
public void injectInto(java.lang.Object candidate)
Injectable
injectInto in interface Injectable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||