Searched defs:interceptor (Results 1 - 20 of 20) sorted by relevance

/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/interceptor/
H A DAroundInvoke.java41 package javax.interceptor;
50 * <p>Defines an interceptor method that interposes on business methods.
52 * parameter of type {@link javax.interceptor.InvocationContext} and
54 * (or superclass) or of any interceptor class.</p>
74 * by calling {@link javax.interceptor.InvocationContext#proceed()}.</p>
H A DAroundTimeout.java41 package javax.interceptor;
50 * <p>Defines an interceptor method that interposes on timeout methods.
52 * parameter of type {@link javax.interceptor.InvocationContext} and
54 * (or superclass) or of any interceptor class.</p>
67 * <p>{@link javax.interceptor.InvocationContext#getTimer()} allows any
78 * by calling {@link javax.interceptor.InvocationContext#proceed()}.</p>
H A DExcludeClassInterceptors.java41 package javax.interceptor;
58 * @see javax.interceptor.ExcludeClassInterceptors
H A DExcludeDefaultInterceptors.java41 package javax.interceptor;
H A DInterceptor.java41 package javax.interceptor;
51 * <p>Specifies that a class is an interceptor.</p>
59 * {@link javax.interceptor.Interceptors Interceptors} annotation or
61 * interceptor with the target class. It is required when an
62 * {@linkplain javax.interceptor.InterceptorBinding interceptor binding}
65 * @see javax.interceptor.Interceptors
H A DInterceptorBinding.java41 package javax.interceptor;
51 * <p>Specifies that an annotation type is an interceptor binding type.</p>
65 * <p>The interceptor bindings of an interceptor are specified by annotating
66 * the interceptor class with the binding types and the
67 * {@link javax.interceptor.Interceptor Interceptor} annotation.</p>
74 * <p>An interceptor may specify multiple interceptor bindings.</p>
76 * <p>An interceptor binding of a bean
78 * with the interceptor bindin
[all...]
H A DInterceptors.java41 package javax.interceptor;
66 * @see javax.interceptor.ExcludeClassInterceptors
67 * @see javax.interceptor.ExcludeDefaultInterceptors
H A DInvocationContext.java41 package javax.interceptor;
48 * that enable interceptor methods to control the behavior of the invocation chain.</p>
85 * and lifecycle callback interceptor methods. For example, when associated
95 * Returns the method of the target class for which the interceptor
143 * Proceed to the next interceptor in the interceptor chain.
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/spi/
H A DJavaEEInterceptorBuilder.java45 * Provides an abstraction for invoking javax.interceptor
53 public void addRuntimeInterceptor(Object interceptor); argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/interceptors/
H A DCallbackChainImpl.java81 * Prepend an interceptor to an existing callback chain.
82 * @param interceptor
84 public void prependInterceptor(CallbackInterceptor interceptor) { argument
89 newArray[0] = interceptor;
H A DJavaEEInterceptorBuilderImpl.java118 public void addRuntimeInterceptor(Object interceptor) { argument
120 interceptorManager.registerRuntimeInterceptor(interceptor);
H A DInterceptorManager.java66 import javax.interceptor.InvocationContext;
158 // Used when InterceptorManager should instantiate interceptor instances
202 * Called sometime after original interceptor initialization.
203 * Install the given interceptor class instance before any application
205 * param o instance of an interceptor class
219 for(InterceptorDescriptor interceptor : frameworkInterceptors) {
221 interceptor.getAroundInvokeDescriptors();
227 Class interceptorClass = interceptor.getInterceptorClass();
231 orderedAIInterceptors = interceptor.getOrderedAroundInvokeDescriptors(classLoaderToUse);
234 + " on class " + interceptor
330 addAroundInvokeInterceptors( List<AroundInvokeInterceptor> interceptors, InterceptorDescriptor interceptor, List<LifecycleCallbackDescriptor> orderedInterceptors, String className, ClassLoader classLoaderToUse) argument
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/proxy/
H A DProxyFactory.java55 Interceptor interceptor) {
67 new ProxyClass(handler, interceptor));
54 createProxy(Class intfc, Object handler, Interceptor interceptor) argument
H A DProxyClass.java64 private Interceptor interceptor; field in class:ProxyClass
67 public ProxyClass(Object handler, Interceptor interceptor) { argument
69 this.interceptor = interceptor;
78 interceptor.preInvoke(callStack);
109 interceptor.postInvoke(callStack);
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/enterprise/transaction/jts/iiop/
H A DTransactionIIOPInterceptorFactory.java70 import com.sun.corba.ee.spi.legacy.interceptor.ORBInitInfoExt;
93 private InterceptorImpl interceptor = null; field in class:TransactionIIOPInterceptorFactory
103 return interceptor;
111 return interceptor;
138 interceptor = new InterceptorImpl(pic, codec, slotIds, null);
139 // Get the ORB instance on which this interceptor is being
145 interceptor.setOrb(theORB);
153 interceptor.setTSIdentification(tsIdent);
/glassfish-3.1.2/admin/admin-core/src/main/java/com/sun/enterprise/admin/
H A DAdminContext.java154 * Get interceptor for mbean server used. In general, this method will
155 * be used only while initializing MBeanServer to setup its interceptor.
160 * Set interceptor. If set prior to creating an MBeanServer, the default
161 * implementation of SunOneMBeanServer factory will apply the interceptor
164 public void setMBeanServerInterceptor(Interceptor interceptor); argument
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/services/
H A DEjbServicesImpl.java56 import javax.interceptor.AroundInvoke;
57 import javax.interceptor.AroundTimeout;
165 // Add interceptor to list all interceptors in ejb descriptor
167 logger.log(Level.FINE, "Adding interceptor: "
321 private EjbInterceptor makeEjbInterceptor(Interceptor interceptor, EjbBundleDescriptor bundle) { argument
325 ejbInt.setInterceptorClassName(interceptor.getBeanClass().getName());
338 throw new IllegalArgumentException("No interceptor with class name " + name);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DInterceptorBindingDescriptor.java52 * Contains a single interceptor binding entry.
75 // Ordered list of interceptor classes.
78 // True if interceptor list represents a total ordering.
126 public void appendInterceptorClass(String interceptor) { argument
127 interceptors.addLast(interceptor);
H A DEjbBundleDescriptor.java95 // All interceptor classes defined within this ejb module, keyed by
96 // interceptor class name.
388 public void addInterceptor(EjbInterceptor interceptor) { argument
390 getInterceptorByClassName(interceptor.getInterceptorClassName());
392 interceptor.setEjbBundleDescriptor(this);
393 interceptors.put(interceptor.getInterceptorClassName(), interceptor);
H A DEjbDescriptor.java119 // as late as initialization time, so they are not part of the interceptor
168 // The set of all interceptor classes applicable to this bean. This
169 // includes any interceptor class that is present at *either* the class
182 // interceptor information for that method. In that case the standard
183 // class-level interceptor information applies.
186 // represents the *complete* ordered list of interceptor classes for that
490 public void addFrameworkInterceptor(InterceptorDescriptor interceptor) { argument
493 if( next.getInterceptorClassName().equals(interceptor.getInterceptorClassName())) {
500 frameworkInterceptors.add(interceptor);
541 // Apply this ejb to the ordered set of all interceptor binding
616 addInterceptorClass(EjbInterceptor interceptor) argument
[all...]

Completed in 1443 milliseconds