KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > ejb > Interceptor


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.dd.api.ejb;
21
22 import org.netbeans.modules.j2ee.dd.api.common.EjbLocalRef;
23 import org.netbeans.modules.j2ee.dd.api.common.EjbRef;
24 import org.netbeans.modules.j2ee.dd.api.common.EnvEntry;
25 import org.netbeans.modules.j2ee.dd.api.common.MessageDestinationRef;
26 import org.netbeans.modules.j2ee.dd.api.common.ResourceEnvRef;
27 import org.netbeans.modules.j2ee.dd.api.common.ResourceRef;
28 import org.netbeans.modules.j2ee.dd.api.common.ServiceRef;
29
30 /**
31  *
32  * @author Martin Adamek
33  */

34 public interface Interceptor {
35     
36     int addAroundInvoke(AroundInvoke value);
37     int addDescription(String JavaDoc value);
38     int addEjbLocalRef(EjbLocalRef valueInterface);
39     int addEjbRef(EjbRef valueInterface);
40     int addEnvEntry(EnvEntry valueInterface);
41     int addMessageDestinationRef(MessageDestinationRef valueInterface);
42     int addPersistenceContextRef(PersistenceContextRef value);
43     int addPersistenceUnitRef(PersistenceUnitRef value);
44     int addPostActivate(LifecycleCallback value);
45     int addPostConstruct(LifecycleCallback value);
46     int addPreDestroy(LifecycleCallback value);
47     int addPrePassivate(LifecycleCallback value);
48     int addResourceEnvRef(ResourceEnvRef valueInterface);
49     int addResourceRef(ResourceRef valueInterface);
50     int addServiceRef(ServiceRef valueInterface);
51     AroundInvoke[] getAroundInvoke();
52     AroundInvoke getAroundInvoke(int index);
53     String JavaDoc[] getDescription();
54     String JavaDoc getDescription(int index);
55     EjbLocalRef[] getEjbLocalRef();
56     EjbLocalRef getEjbLocalRef(int index);
57     EjbRef[] getEjbRef();
58     EjbRef getEjbRef(int index);
59     EnvEntry[] getEnvEntry();
60     EnvEntry getEnvEntry(int index);
61     String JavaDoc getInterceptorClass();
62     MessageDestinationRef[] getMessageDestinationRef();
63     MessageDestinationRef getMessageDestinationRef(int index);
64     PersistenceContextRef[] getPersistenceContextRef();
65     PersistenceContextRef getPersistenceContextRef(int index);
66     PersistenceUnitRef[] getPersistenceUnitRef();
67     PersistenceUnitRef getPersistenceUnitRef(int index);
68     LifecycleCallback[] getPostActivate();
69     LifecycleCallback getPostActivate(int index);
70     LifecycleCallback[] getPostConstruct();
71     LifecycleCallback getPostConstruct(int index);
72     LifecycleCallback[] getPreDestroy();
73     LifecycleCallback getPreDestroy(int index);
74     LifecycleCallback[] getPrePassivate();
75     LifecycleCallback getPrePassivate(int index);
76     ResourceEnvRef[] getResourceEnvRef();
77     ResourceEnvRef getResourceEnvRef(int index);
78     ResourceRef[] getResourceRef();
79     ResourceRef getResourceRef(int index);
80     ServiceRef[] getServiceRef();
81     ServiceRef getServiceRef(int index);
82     AroundInvoke newAroundInvoke();
83     EjbLocalRef newEjbLocalRef();
84     EjbRef newEjbRef();
85     EnvEntry newEnvEntry();
86     LifecycleCallback newLifecycleCallback();
87     MessageDestinationRef newMessageDestinationRef();
88     PersistenceContextRef newPersistenceContextRef();
89     PersistenceUnitRef newPersistenceUnitRef();
90     ResourceEnvRef newResourceEnvRef();
91     ResourceRef newResourceRef();
92     ServiceRef newServiceRef();
93     int removeAroundInvoke(AroundInvoke value);
94     int removeDescription(String JavaDoc value);
95     int removeEjbLocalRef(EjbLocalRef valueInterface);
96     int removeEjbRef(EjbRef valueInterface);
97     int removeEnvEntry(EnvEntry valueInterface);
98     int removeMessageDestinationRef(MessageDestinationRef valueInterface);
99     int removePersistenceContextRef(PersistenceContextRef value);
100     int removePersistenceUnitRef(PersistenceUnitRef value);
101     int removePostActivate(LifecycleCallback value);
102     int removePostConstruct(LifecycleCallback value);
103     int removePreDestroy(LifecycleCallback value);
104     int removePrePassivate(LifecycleCallback value);
105     int removeResourceEnvRef(ResourceEnvRef valueInterface);
106     int removeResourceRef(ResourceRef valueInterface);
107     int removeServiceRef(ServiceRef valueInterface);
108     void setAroundInvoke(int index, AroundInvoke value);
109     void setAroundInvoke(AroundInvoke[] value);
110     void setDescription(int index, String JavaDoc value);
111     void setDescription(String JavaDoc[] value);
112     void setEjbLocalRef(int index, EjbLocalRef valueInterface);
113     void setEjbLocalRef(EjbLocalRef[] value);
114     void setEjbRef(int index, EjbRef valueInterface);
115     void setEjbRef(EjbRef[] value);
116     void setEnvEntry(int index, EnvEntry valueInterface);
117     void setEnvEntry(EnvEntry[] value);
118     void setInterceptorClass(String JavaDoc value);
119     void setMessageDestinationRef(int index, MessageDestinationRef valueInterface);
120     void setMessageDestinationRef(MessageDestinationRef[] value);
121     void setPersistenceContextRef(int index, PersistenceContextRef value);
122     void setPersistenceContextRef(PersistenceContextRef[] value);
123     void setPersistenceUnitRef(int index, PersistenceUnitRef value);
124     void setPersistenceUnitRef(PersistenceUnitRef[] value);
125     void setPostActivate(int index, LifecycleCallback value);
126     void setPostActivate(LifecycleCallback[] value);
127     void setPostConstruct(int index, LifecycleCallback value);
128     void setPostConstruct(LifecycleCallback[] value);
129     void setPreDestroy(int index, LifecycleCallback value);
130     void setPreDestroy(LifecycleCallback[] value);
131     void setPrePassivate(int index, LifecycleCallback value);
132     void setPrePassivate(LifecycleCallback[] value);
133     void setResourceEnvRef(int index, ResourceEnvRef valueInterface);
134     void setResourceEnvRef(ResourceEnvRef[] value);
135     void setResourceRef(int index, ResourceRef valueInterface);
136     void setResourceRef(ResourceRef[] value);
137     void setServiceRef(int index, ServiceRef valueInterface);
138     void setServiceRef(ServiceRef[] value);
139     int sizeAroundInvoke();
140     int sizeDescription();
141     int sizeEjbLocalRef();
142     int sizeEjbRef();
143     int sizeEnvEntry();
144     int sizeMessageDestinationRef();
145     int sizePersistenceContextRef();
146     int sizePersistenceUnitRef();
147     int sizePostActivate();
148     int sizePostConstruct();
149     int sizePreDestroy();
150     int sizePrePassivate();
151     int sizeResourceEnvRef();
152     int sizeResourceRef();
153     int sizeServiceRef();
154     
155 }
156
Popular Tags