KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > deployment > xml > EjbTagNames


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.enterprise.deployment.xml;
24  
25 /**
26  * The XML tag names for the ejb-jar dtd
27  * @author Danny Coward
28  */

29
30 public interface EjbTagNames extends TagNames {
31
32     public final static String JavaDoc SESSION = "session";
33     public final static String JavaDoc ENTITY = "entity";
34     public final static String JavaDoc SESSION_TYPE = "session-type";
35     public final static String JavaDoc MESSAGE_DRIVEN = "message-driven";
36     
37     public final static String JavaDoc EJB_NAME = "ejb-name";
38     public final static String JavaDoc HOME = "home";
39     public final static String JavaDoc REMOTE = "remote";
40     public final static String JavaDoc LOCAL_HOME = "local-home";
41     public final static String JavaDoc LOCAL = "local";
42     public final static String JavaDoc BUSINESS_LOCAL = "business-local";
43     public final static String JavaDoc BUSINESS_REMOTE = "business-remote";
44     public final static String JavaDoc EJB_CLASS = "ejb-class";
45     public final static String JavaDoc SERVICE_ENDPOINT_INTERFACE = "service-endpoint";
46     public final static String JavaDoc ROLE_REFERENCES = "security-role-refs";
47     
48     // entity
49
public final static String JavaDoc PERSISTENCE_TYPE = "persistence-type";
50     public final static String JavaDoc PRIMARY_KEY_CLASS = "prim-key-class";
51     public final static String JavaDoc PRIMARY_KEY_FIELD = "primkey-field";
52     public final static String JavaDoc REENTRANT = "reentrant";
53     public final static String JavaDoc PERSISTENT_FIELDS = "persistent-fields";
54     public final static String JavaDoc CMP_FIELD = "cmp-field";
55     public final static String JavaDoc CMP_VERSION = "cmp-version";
56     public final static String JavaDoc CMP_2_VERSION = "2.x";
57     public final static String JavaDoc CMP_1_VERSION = "1.x";
58     public final static String JavaDoc FIELD_NAME = "field-name";
59     public final static String JavaDoc ABSTRACT_SCHEMA_NAME = "abstract-schema-name";
60
61     // relationships
62
public final static String JavaDoc RELATIONSHIPS = "relationships";
63     public final static String JavaDoc EJB_RELATION = "ejb-relation";
64     public final static String JavaDoc EJB_RELATION_NAME = "ejb-relation-name";
65     public final static String JavaDoc EJB_RELATIONSHIP_ROLE = "ejb-relationship-role";
66     public final static String JavaDoc EJB_RELATIONSHIP_ROLE_NAME = "ejb-relationship-role-name";
67     public final static String JavaDoc MULTIPLICITY = "multiplicity";
68     public final static String JavaDoc RELATIONSHIP_ROLE_SOURCE = "relationship-role-source";
69     public final static String JavaDoc CMR_FIELD = "cmr-field";
70     public final static String JavaDoc CMR_FIELD_NAME = "cmr-field-name";
71     public final static String JavaDoc CMR_FIELD_TYPE = "cmr-field-type";
72     public final static String JavaDoc CASCADE_DELETE = "cascade-delete";
73
74     // application exceptions
75
public final static String JavaDoc APPLICATION_EXCEPTION = "application-exception";
76     public final static String JavaDoc APP_EXCEPTION_CLASS = "exception-class";
77     public final static String JavaDoc APP_EXCEPTION_ROLLBACK = "rollback";
78
79     // ejb-entity-ref
80
public final static String JavaDoc REMOTE_EJB_NAME = "remote-ejb-name";
81
82     // query
83
public final static String JavaDoc QUERY = "query";
84     public final static String JavaDoc QUERY_METHOD = "query-method";
85     public final static String JavaDoc EJB_QL = "ejb-ql";
86     public final static String JavaDoc QUERY_RESULT_TYPE_MAPPING = "result-type-mapping";
87     public final static String JavaDoc QUERY_REMOTE_TYPE_MAPPING = "Remote";
88     public final static String JavaDoc QUERY_LOCAL_TYPE_MAPPING = "Local";
89
90     // session
91
public final static String JavaDoc TRANSACTION_TYPE = "transaction-type";
92     public final static String JavaDoc TRANSACTION_SCOPE = "transaction-scope";
93
94     // message-driven
95
public final static String JavaDoc ACTIVATION_CONFIG = "activation-config";
96     public final static String JavaDoc ACTIVATION_CONFIG_PROPERTY =
97         "activation-config-property";
98     public final static String JavaDoc ACTIVATION_CONFIG_PROPERTY_NAME =
99         "activation-config-property-name";
100     public final static String JavaDoc ACTIVATION_CONFIG_PROPERTY_VALUE =
101         "activation-config-property-value";
102     public final static String JavaDoc MESSAGING_TYPE = "messaging-type";
103     public final static String JavaDoc MSG_SELECTOR = "message-selector";
104     public final static String JavaDoc JMS_ACKNOWLEDGE_MODE = "acknowledge-mode";
105     public final static String JavaDoc MESSAGE_DRIVEN_DEST = "message-driven-destination";
106     public final static String JavaDoc JMS_SUBSCRIPTION_DURABILITY = "subscription-durability";
107     public final static String JavaDoc JMS_SUBSCRIPTION_IS_DURABLE = "Durable";
108     public final static String JavaDoc JMS_SUBSCRIPTION_NOT_DURABLE = "NonDurable";
109     public final static String JavaDoc JMS_AUTO_ACK_MODE = "Auto-acknowledge";
110     public final static String JavaDoc JMS_DUPS_OK_ACK_MODE = "Dups-ok-acknowledge";
111     public final static String JavaDoc JMS_DEST_TYPE = "destination-type";
112
113     public final static String JavaDoc JNDI_NAME = "jndi-name";
114     
115     public final static String JavaDoc EJB_BUNDLE_TAG = "ejb-jar";
116     public final static String JavaDoc EJBS = "enterprise-beans";
117     public final static String JavaDoc ASSEMBLY_DESCRIPTOR = "assembly-descriptor";
118     public final static String JavaDoc METHOD_PERMISSION = "method-permission";
119     public final static String JavaDoc UNCHECKED = "unchecked";
120     public final static String JavaDoc EXCLUDE_LIST = "exclude-list";
121     public final static String JavaDoc METHOD = "method";
122     public final static String JavaDoc METHOD_NAME = "method-name";
123     public final static String JavaDoc METHOD_INTF = "method-intf";
124     public final static String JavaDoc METHOD_PARAMS = "method-params";
125     public final static String JavaDoc METHOD_PARAM = "method-param";
126     public final static String JavaDoc CONTAINER_TRANSACTION = "container-transaction";
127     public final static String JavaDoc TRANSACTION_ATTRIBUTE = "trans-attribute";
128     
129     public final static String JavaDoc EJB_CLIENT_JAR = "ejb-client-jar";
130
131     // security-identity
132
public final static String JavaDoc SECURITY_IDENTITY = "security-identity";
133     public final static String JavaDoc USE_CALLER_IDENTITY = "use-caller-identity";
134
135     // interceptors
136
public final static String JavaDoc INTERCEPTOR = "interceptor";
137     public final static String JavaDoc INTERCEPTORS = "interceptors";
138     public final static String JavaDoc INTERCEPTOR_BINDING = "interceptor-binding";
139     public final static String JavaDoc INTERCEPTOR_CLASS = "interceptor-class";
140     public final static String JavaDoc INTERCEPTOR_ORDER = "interceptor-order";
141     public final static String JavaDoc INTERCEPTOR_BUSINESS_METHOD = "method";
142     public final static String JavaDoc EXCLUDE_DEFAULT_INTERCEPTORS =
143         "exclude-default-interceptors";
144     public final static String JavaDoc EXCLUDE_CLASS_INTERCEPTORS =
145         "exclude-class-interceptors";
146     public final static String JavaDoc AROUND_INVOKE_METHOD = "around-invoke";
147
148     // around-invoke
149
public static final String JavaDoc AROUND_INVOKE_CLASS_NAME = "class";
150     public static final String JavaDoc AROUND_INVOKE_METHOD_NAME = "method-name";
151
152     // stateful session callbacks
153
public final static String JavaDoc POST_ACTIVATE_METHOD = "post-activate";
154     public final static String JavaDoc PRE_PASSIVATE_METHOD = "pre-passivate";
155     
156     // stateful session methods
157
public final static String JavaDoc INIT_METHOD = "init-method";
158     public final static String JavaDoc INIT_CREATE_METHOD = "create-method";
159     public final static String JavaDoc INIT_BEAN_METHOD = "bean-method";
160     public final static String JavaDoc REMOVE_METHOD = "remove-method";
161     public final static String JavaDoc REMOVE_BEAN_METHOD = "bean-method";
162     public final static String JavaDoc REMOVE_RETAIN_IF_EXCEPTION = "retain-if-exception";
163
164     // timeout method
165
public final static String JavaDoc TIMEOUT_METHOD = "timeout-method";
166
167
168 }
169
170
Popular Tags