|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.annotation.impl.AbstractAnnotationProcessor<T>
public abstract class AbstractAnnotationProcessor<T extends java.lang.annotation.Annotation>
Base class for AnnotationProcessors. This class provides the
createArgumentProvider(Method, com.pietschy.command.ActionCommand)
method that scans the argument types of annotated methods to:
ArgumentProvider suitable for the commandMap argument. The method will be passed the commands
parameter map.ActionCommand argument. The
method will be passed the invoking command.Window argument. The
method will be passed the commands invoking window.UnsupportedArgumentException.
| Nested Class Summary | |
|---|---|
protected static class |
AbstractAnnotationProcessor.CommandProvider
An ArgumentProvider that returns the invoking command. |
protected static class |
AbstractAnnotationProcessor.InvokerWindowProvider
An ArgumentProvider that returns the invoking command. |
protected static class |
AbstractAnnotationProcessor.ParameterProvider
An ArgumentProvider that returns the parameters of the
invoking command. |
| Constructor Summary | |
|---|---|
AbstractAnnotationProcessor()
|
|
| Method Summary | |
|---|---|
protected ArgumentProvider |
createArgumentProvider(java.lang.reflect.Method method,
ActionCommand command)
Creates an ArgumentProvider for the specified method and invoking
command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.pietschy.command.annotation.impl.AnnotationProcessor |
|---|
createCommand, getAnnotation |
| Constructor Detail |
|---|
public AbstractAnnotationProcessor()
| Method Detail |
|---|
protected ArgumentProvider createArgumentProvider(java.lang.reflect.Method method,
ActionCommand command)
ArgumentProvider for the specified method and invoking
command.
method - the method to be invoked.command - the command invoking it.
ArgumentProvider for the specified method and invoking
command.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||