1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.orchestra.annotation;
20
21 import java.lang.reflect.Method;
22
23 import org.apache.myfaces.orchestra.conversation.annotations.ConversationName;
24 import org.apache.myfaces.orchestra.conversation.annotations.ConversationRequire;
25 import org.apache.myfaces.orchestra.viewController.annotations.ViewController;
26
27
28
29
30 public class AnnotationInfo
31 {
32 private final String beanName;
33 private final Class<?> beanClass;
34
35 private ConversationName conversationName;
36 private ConversationRequire conversationRequire;
37 private ViewController viewController;
38
39
40 private Method initViewMethod;
41 private Method preProcessMethod;
42 private Method preRenderViewMethod;
43
44 public AnnotationInfo(String beanName, Class<?> beanClass)
45 {
46 this.beanName = beanName;
47 this.beanClass = beanClass;
48 }
49
50 public String getBeanName()
51 {
52 return beanName;
53 }
54
55 public Class<?> getBeanClass()
56 {
57 return beanClass;
58 }
59
60 public ConversationName getConversationName()
61 {
62 return conversationName;
63 }
64
65 public void setConversationName(ConversationName conversationName)
66 {
67 this.conversationName = conversationName;
68 }
69
70 public ConversationRequire getConversationRequire()
71 {
72 return conversationRequire;
73 }
74
75 public void setConversationRequire(ConversationRequire conversationRequire)
76 {
77 this.conversationRequire = conversationRequire;
78 }
79
80 public ViewController getViewController()
81 {
82 return viewController;
83 }
84
85 public void setViewController(ViewController viewController)
86 {
87 this.viewController = viewController;
88 }
89
90 public Method getInitViewMethod()
91 {
92 return initViewMethod;
93 }
94
95 public void setInitViewMethod(Method initViewMethod)
96 {
97 this.initViewMethod = initViewMethod;
98 }
99
100 public Method getPreProcessMethod()
101 {
102 return preProcessMethod;
103 }
104
105 public void setPreProcessMethod(Method preProcessMethod)
106 {
107 this.preProcessMethod = preProcessMethod;
108 }
109
110 public Method getPreRenderViewMethod()
111 {
112 return preRenderViewMethod;
113 }
114
115 public void setPreRenderViewMethod(Method preRenderViewMethod)
116 {
117 this.preRenderViewMethod = preRenderViewMethod;
118 }
119 }