|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NameMapperAwareFactory<T extends NameMapper>
Interface for factories which are using NameMappers for creating instances.
| Method Summary | |
|---|---|
void |
deny(Class<? extends NameMapper> classToDeny)
Deregisters existing NameMappers of the given type and deny the type for NameMapper which
might be added later on. |
void |
deregister(Class<? extends NameMapper> classToDeregister)
Removes all NameMappers of the given type. |
void |
register(T classToAdd)
Registers a new NameMapper which should be used for the mapping process. |
| Method Detail |
|---|
void register(T classToAdd)
NameMapper which should be used for the mapping process.
It will be used if it isn't denied.
classToAdd - NameMapper to addvoid deregister(Class<? extends NameMapper> classToDeregister)
NameMappers of the given type.
classToDeregister - nameMapper to remove.void deny(Class<? extends NameMapper> classToDeny)
NameMappers of the given type and deny the type for NameMapper which
might be added later on.
classToDeny - NameMapper to deny
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||