KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb > InterceptorImpl


1 /*
2  * JBoss, the OpenSource EJB server
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.ejb;
8
9 /**
10  * // *
11  *
12  * @author <a HREF="mailto:bill@jboss.org">William DeCoste</a>
13  * @version $Revision: 1.2.2.1 $
14  */

15 public class InterceptorImpl implements javax.ejb.Interceptor
16 {
17    private Class JavaDoc value;
18    
19    public InterceptorImpl(Class JavaDoc value)
20    {
21       this.value = value;
22    }
23    
24    public Class JavaDoc value()
25    {
26       return value;
27    }
28
29    public Class JavaDoc annotationType()
30    {
31       return javax.ejb.Interceptor.class;
32    }
33 }
34
Popular Tags