Searched refs:ainfo (Results 1 - 25 of 57) sorted by relevance

123

/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/handlers/
H A DAbstractCommonAttributeHandler.java63 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
65 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
68 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
80 * @param ainfo
85 AnnotationInfo ainfo, EjbContext[] ejbContexts)
90 * @param ainfo
95 AnnotationInfo ainfo, WebComponentContext[] webCompContexts)
100 * @param ainfo
105 AnnotationInfo ainfo, WebBundleContext webBundleContext)
114 * @param ainfo th
84 processAnnotation( AnnotationInfo ainfo, EjbContext[] ejbContexts) argument
94 processAnnotation( AnnotationInfo ainfo, WebComponentContext[] webCompContexts) argument
104 processAnnotation( AnnotationInfo ainfo, WebBundleContext webBundleContext) argument
116 processAnnotation(AnnotationInfo ainfo) argument
[all...]
H A DAbstractWebHandler.java55 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
58 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
70 * @param ainfo
75 AnnotationInfo ainfo, WebComponentContext[] webCompContexts)
80 * @param ainfo
85 AnnotationInfo ainfo, WebBundleContext webBundleContext)
95 * @param ainfo the annotation information
98 public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo) argument
101 AnnotatedElementHandler aeHandler = ainfo.getProcessingContext().getHandler();
114 procResult = processAnnotation(ainfo,
74 processAnnotation( AnnotationInfo ainfo, WebComponentContext[] webCompContexts) argument
84 processAnnotation( AnnotationInfo ainfo, WebBundleContext webBundleContext) argument
[all...]
H A DAbstractHandler.java60 * public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo)
102 * @param ainfo
106 AnnotatedElementHandler aeHandler, AnnotationInfo ainfo)
110 log(Level.FINE, ainfo,
122 protected void log(Level level, AnnotationInfo ainfo, argument
125 ainfo.getProcessingContext().getErrorHandler().error(
126 new AnnotationProcessorException(localizedMessage, ainfo));
128 ainfo.getProcessingContext().getErrorHandler().warning(
129 new AnnotationProcessorException(localizedMessage, ainfo));
131 ainfo
105 getInvalidAnnotatedElementHandlerResult( AnnotatedElementHandler aeHandler, AnnotationInfo ainfo) argument
141 getInjectionMethodPropertyName(Method method, AnnotationInfo ainfo) argument
169 validateInjectionMethod(Method method, AnnotationInfo ainfo) argument
[all...]
H A DAbstractResourceHandler.java64 * AnnotationInfo ainfo,
76 * @param ainfo
80 AnnotationInfo ainfo,
90 * @param ainfo the annotation information
92 public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo) argument
95 AnnotatedElementHandler aeHandler = ainfo.getProcessingContext().getHandler();
126 ainfo.getProcessingContext().getHandler(), ainfo);
139 return getInvalidAnnotatedElementHandlerResult(aeHandler, ainfo);
142 return processAnnotation(ainfo, rcContext
79 processAnnotation( AnnotationInfo ainfo, ResourceContainerContext[] rcContexts) argument
[all...]
H A DEntityManagerFactoryReferenceHandler.java84 * @param ainfo the annotation information
88 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
92 PersistenceUnit emfRefAn = (PersistenceUnit)ainfo.getAnnotation();
93 return processEmfRef(ainfo, rcContexts, emfRefAn);
104 protected HandlerProcessingResult processEmfRef(AnnotationInfo ainfo, argument
109 if (ElementType.FIELD.equals(ainfo.getElementType())) {
110 Field f = (Field)ainfo.getAnnotatedElement();
134 } else if (ElementType.METHOD.equals(ainfo.getElementType())) {
136 Method m = (Method)ainfo.getAnnotatedElement();
143 getInjectionMethodPropertyName(m, ainfo);
[all...]
H A DMultipartConfigHandler.java75 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
81 result = processAnnotation(ainfo,
91 AnnotationInfo ainfo, WebBundleContext webBundleContext)
95 return getInvalidAnnotatedElementHandlerResult(webBundleContext, ainfo);
99 AnnotationInfo ainfo, WebComponentDescriptor webCompDesc)
102 MultipartConfig multipartConfigAn = (MultipartConfig)ainfo.getAnnotation();
90 processAnnotation( AnnotationInfo ainfo, WebBundleContext webBundleContext) argument
98 processAnnotation( AnnotationInfo ainfo, WebComponentDescriptor webCompDesc) argument
H A DDeclareRolesHandler.java74 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
77 DeclareRoles rolesRefAn = (DeclareRoles)ainfo.getAnnotation();
97 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
102 return processAnnotation(ainfo, webBundleDesc);
105 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
109 return processAnnotation(ainfo, webBundleDesc);
112 private HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
114 DeclareRoles rolesRefAn = (DeclareRoles)ainfo.getAnnotation();
H A DWebListenerHandler.java83 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
87 return processAnnotation(ainfo,
93 AnnotationInfo ainfo, WebBundleContext webBundleContext)
96 return processAnnotation(ainfo, webBundleContext.getDescriptor());
100 AnnotationInfo ainfo, WebBundleDescriptor webBundleDesc)
103 Class listenerClass = (Class)ainfo.getAnnotatedElement();
110 log(Level.SEVERE, ainfo,
118 WebListener listenerAn = (WebListener)ainfo.getAnnotation();
92 processAnnotation( AnnotationInfo ainfo, WebBundleContext webBundleContext) argument
99 processAnnotation( AnnotationInfo ainfo, WebBundleDescriptor webBundleDesc) argument
H A DAbstractAuthAnnotationHandler.java88 * @param ainfo
94 AnnotationInfo ainfo, EjbContext[] ejbContexts)
97 if (!validateAccessControlAnnotations(ainfo)) {
101 Annotation authAnnotation = ainfo.getAnnotation();
105 if (ElementType.TYPE.equals(ainfo.getElementType())) {
107 ejbContext.addPostProcessInfo(ainfo, this);
109 Method annMethod = (Method) ainfo.getAnnotatedElement();
128 * @param ainfo
134 AnnotationInfo ainfo, WebComponentContext[] webCompContexts)
138 return getInvalidAnnotatedElementHandlerResult(webCompContexts[0], ainfo);
93 processAnnotation( AnnotationInfo ainfo, EjbContext[] ejbContexts) argument
133 processAnnotation( AnnotationInfo ainfo, WebComponentContext[] webCompContexts) argument
148 processAnnotation( AnnotationInfo ainfo, WebBundleContext webBundleContext) argument
164 postProcessAnnotation(AnnotationInfo ainfo, EjbContext ejbContext) argument
286 validateAccessControlAnnotations(AnnotationInfo ainfo) argument
[all...]
H A DPostProcessor.java54 public void postProcessAnnotation(AnnotationInfo ainfo, T aeHandler) argument
H A DPreDestroyHandler.java73 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
77 AnnotatedElementHandler aeHandler = ainfo.getProcessingContext().getHandler();
79 (PreDestroy)ainfo.getAnnotation();
80 Method annMethod = (Method)ainfo.getAnnotatedElement();
H A DRunAsHandler.java76 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
79 RunAs runAsAn = (RunAs)ainfo.getAnnotation();
102 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
104 RunAs runAsAn = (RunAs)ainfo.getAnnotation();
124 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
128 ainfo.getProcessingContext().getHandler(), ainfo);
H A DEntityManagerReferenceHandler.java88 * @param ainfo the annotation information
92 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
97 ainfo.getProcessingContext().getHandler();
103 log(Level.WARNING, ainfo, msg);
106 PersistenceContext emRefAn = (PersistenceContext)ainfo.getAnnotation();
107 return processEmRef(ainfo, rcContexts, emRefAn);
118 protected HandlerProcessingResult processEmRef(AnnotationInfo ainfo, argument
123 if (ElementType.FIELD.equals(ainfo.getElementType())) {
124 Field f = (Field)ainfo.getAnnotatedElement();
149 } else if (ElementType.METHOD.equals(ainfo
[all...]
/glassfish-3.1.2/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/annotation/handlers/
H A DAbstractAttributeHandler.java68 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
77 * protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
88 * @param ainfo
94 AnnotationInfo ainfo, EjbContext[] ejbContexts)
99 * @param ainfo
105 AnnotationInfo ainfo, EjbInterceptorContext ejbInterceptorContext)
120 * @param ainfo the annotation information
122 public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo) argument
125 AnnotatedElement ae = ainfo.getAnnotatedElement();
126 Annotation annotation = ainfo
93 processAnnotation( AnnotationInfo ainfo, EjbContext[] ejbContexts) argument
104 processAnnotation( AnnotationInfo ainfo, EjbInterceptorContext ejbInterceptorContext) argument
[all...]
H A DEJBsHandler.java75 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
79 EJBs ejbsAnnotation = (EJBs) ainfo.getAnnotation();
86 "No @EJB elements in @EJBs on " + ainfo.getAnnotatedElement(),
87 new Object[]{ejbsAnnotation, ainfo.getAnnotatedElement()});
94 results.add(processEJB(ainfo, rcContexts, ejb));
H A DAroundInvokeHandler.java79 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
88 getAroundInvocationDescriptor(ainfo));
94 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
101 getAroundInvocationDescriptor(ainfo));
107 AnnotationInfo ainfo) {
109 Method m = (Method) ainfo.getAnnotatedElement();
106 getAroundInvocationDescriptor( AnnotationInfo ainfo) argument
H A DPostActivateHandler.java80 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
89 getPostActivateDescriptor(ainfo));
96 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
102 getPostActivateDescriptor(ainfo));
107 AnnotationInfo ainfo) {
108 Method annotatedMethod = (Method) ainfo.getAnnotatedElement();
106 getPostActivateDescriptor( AnnotationInfo ainfo) argument
H A DPrePassivateHandler.java80 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
89 getPrePassivateDescriptor(ainfo));
96 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
101 getPrePassivateDescriptor(ainfo));
106 AnnotationInfo ainfo) {
107 Method annotatedMethod = (Method) ainfo.getAnnotatedElement();
105 getPrePassivateDescriptor( AnnotationInfo ainfo) argument
H A DAroundTimeoutHandler.java79 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
88 getAroundInvocationDescriptor(ainfo));
94 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
101 getAroundInvocationDescriptor(ainfo));
H A DStatefulHandler.java113 * @param ainfo
117 AnnotationInfo ainfo) throws AnnotationProcessorException {
119 AnnotatedElement ae = ainfo.getAnnotatedElement();
133 * @param ainfo
137 EjbDescriptor ejbDesc, AnnotationInfo ainfo)
148 Stateful sful = (Stateful) ainfo.getAnnotation();
152 return setBusinessAndHomeInterfaces(ejbDesc, ainfo);
116 createEjbDescriptor(String elementName, AnnotationInfo ainfo) argument
136 setEjbDescriptorInfo( EjbDescriptor ejbDesc, AnnotationInfo ainfo) argument
H A DStatelessHandler.java112 * @param ainfo
116 AnnotationInfo ainfo) throws AnnotationProcessorException {
118 AnnotatedElement ae = ainfo.getAnnotatedElement();
132 * @param ainfo
136 EjbDescriptor ejbDesc, AnnotationInfo ainfo)
146 Stateless sless = (Stateless) ainfo.getAnnotation();
151 return setBusinessAndHomeInterfaces(ejbDesc, ainfo);
115 createEjbDescriptor(String elementName, AnnotationInfo ainfo) argument
135 setEjbDescriptorInfo( EjbDescriptor ejbDesc, AnnotationInfo ainfo) argument
H A DMessageDrivenHandler.java104 * @param ainfo
108 AnnotationInfo ainfo) throws AnnotationProcessorException {
110 AnnotatedElement ae = ainfo.getAnnotatedElement();
123 * @param ainfo
127 EjbDescriptor ejbDesc, AnnotationInfo ainfo)
130 MessageDriven mdAn = (MessageDriven)ainfo.getAnnotation();
131 Class ejbClass = (Class)ainfo.getAnnotatedElement();
137 mdAn, ejbMsgBeanDesc, ejbClass, ainfo);
157 Class ejbClass, AnnotationInfo ainfo)
175 ((EjbBundleContext)ainfo
107 createEjbDescriptor(String elementName, AnnotationInfo ainfo) argument
126 setEjbDescriptorInfo( EjbDescriptor ejbDesc, AnnotationInfo ainfo) argument
155 setMessageListenerInterface( MessageDriven mdAn, EjbMessageBeanDescriptor msgEjbDesc, Class ejbClass, AnnotationInfo ainfo) argument
[all...]
H A DAsynchronousHandler.java82 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
88 if (ElementType.TYPE.equals(ainfo.getElementType())) {
89 ejbContext.addPostProcessInfo(ainfo, this);
91 Method annMethod = (Method) ainfo.getAnnotatedElement();
121 public void postProcessAnnotation(AnnotationInfo ainfo, EjbContext ejbContext) argument
124 Class classAn = (Class)ainfo.getAnnotatedElement();
H A DScheduleHandler.java84 protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, argument
87 return processSchedule((Schedule)ainfo.getAnnotation(), ainfo, ejbContexts);
91 AnnotationInfo ainfo, EjbContext[] ejbContexts)
97 if (ElementType.METHOD.equals(ainfo.getElementType())) {
98 Method annMethod = (Method) ainfo.getAnnotatedElement();
90 processSchedule(Schedule sch, AnnotationInfo ainfo, EjbContext[] ejbContexts) argument
H A DSingletonHandler.java113 * @param ainfo
117 AnnotationInfo ainfo) throws AnnotationProcessorException {
119 AnnotatedElement ae = ainfo.getAnnotatedElement();
136 * @param ainfo
140 EjbDescriptor ejbDesc, AnnotationInfo ainfo)
145 Class ejbClass = (Class) ainfo.getAnnotatedElement();
146 Singleton singleton = (Singleton) ainfo.getAnnotation();
158 return setBusinessAndHomeInterfaces(ejbDesc, ainfo);
116 createEjbDescriptor(String elementName, AnnotationInfo ainfo) argument
139 setEjbDescriptorInfo( EjbDescriptor ejbDesc, AnnotationInfo ainfo) argument

Completed in 82 milliseconds

123