|
||||||||||
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 NameMapper
s for creating instances.
Method Summary | |
---|---|
void |
deny(Class<? extends NameMapper> classToDeny)
Deregisters existing NameMapper s of the given type and deny the type for NameMapper which
might be added later on. |
void |
deregister(Class<? extends NameMapper> classToDeregister)
Removes all NameMapper s 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)
NameMapper
s of the given type.
classToDeregister
- nameMapper to remove.void deny(Class<? extends NameMapper> classToDeny)
NameMapper
s 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 |