|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomDataKeyDecorator
Provides a universal registry for Matcher objects. Initially no
checks are being performed upon adding new Matcher instances, it is
envisioned that this will change and an alert would be provided if a
Matcher object was in conflict with another. For this to happen a
more fleshed out matching API needs to be implemented as so comparison of
Matchers can be performed easily. In addition to registering
Matchers this interface allows Matcher objects to be
unregistered based on the registering class which is useful if the
registering class is no longer in play.
| Method Summary | |
|---|---|
void |
registerMatcher(String addingClass,
Matcher<? extends org.springframework.roo.model.CustomDataAccessor> matcher)
Registers the given matcher on behalf of the class with the given fully- qualified name. |
void |
registerMatchers(Class<?> addingClass,
Matcher<? extends org.springframework.roo.model.CustomDataAccessor>... matchers)
Registers the given matchers on behalf of the given class |
void |
unregisterMatchers(Class<?> addingClass)
Unregisters any matchers registered by the given class |
void |
unregisterMatchers(String addingClass)
Unregisters any matchers registered by the given class |
| Methods inherited from interface org.springframework.roo.classpath.scanner.MemberDetailsDecorator |
|---|
decorate, decorateTypes |
| Method Detail |
|---|
void registerMatcher(String addingClass,
Matcher<? extends org.springframework.roo.model.CustomDataAccessor> matcher)
addingClass - the name of the class registering the matcher
(required)matcher - the matcher to register (required)
void registerMatchers(Class<?> addingClass,
Matcher<? extends org.springframework.roo.model.CustomDataAccessor>... matchers)
addingClass - the class registering the matchers (can be null not to
register any matchers)matchers - the matchers to register (can be none)void unregisterMatchers(Class<?> addingClass)
addingClass - the class whose matchers are to be unregistered
(required)void unregisterMatchers(String addingClass)
addingClass - the fully-qualified name of the class whose matchers
are to be unregistered (required)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||