KickJava   Java API By Example, From Geeks To Geeks.

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


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  * I hold the XML tag names common to the dtds across the J2EE platform.
27  * @author Jerome Dochez
28  */

29
30 public interface TagNames {
31
32     public static final String JavaDoc NAME = "display-name";
33     public static final String JavaDoc ID = "id";
34     public static final String JavaDoc DESCRIPTION = "description";
35     public static final String JavaDoc VERSION = "version";
36     public static final String JavaDoc METADATA_COMPLETE = "metadata-complete";
37  
38     public static final String JavaDoc ICON = "icon";
39     public static final String JavaDoc LARGE_ICON = "large-icon";
40     public static final String JavaDoc SMALL_ICON = "small-icon";
41
42     public static final String JavaDoc ENVIRONMENT_PROPERTY = "env-entry";
43     public static final String JavaDoc ENVIRONMENT_PROPERTY_NAME = "env-entry-name";
44     public static final String JavaDoc ENVIRONMENT_PROPERTY_VALUE = "env-entry-value";
45     public static final String JavaDoc ENVIRONMENT_PROPERTY_TYPE = "env-entry-type";
46
47     public static final String JavaDoc EJB_REFERENCE = "ejb-ref";
48     public static final String JavaDoc EJB_REFERENCE_NAME = "ejb-ref-name";
49     public static final String JavaDoc EJB_REFERENCE_TYPE = "ejb-ref-type";
50     public static final String JavaDoc EJB_LINK = "ejb-link";
51     
52     public static final String JavaDoc EJB_LOCAL_REFERENCE = "ejb-local-ref";
53     
54     public static final String JavaDoc RESOURCE_REFERENCE = "resource-ref";
55     public static final String JavaDoc RESOURCE_REFERENCE_NAME = "res-ref-name";
56     public static final String JavaDoc RESOURCE_SHARING_SCOPE = "res-sharing-scope";
57
58     public static final String JavaDoc MESSAGE_DESTINATION_REFERENCE = "message-destination-ref";
59     public static final String JavaDoc MESSAGE_DESTINATION_REFERENCE_NAME = "message-destination-ref-name";
60     public static final String JavaDoc MESSAGE_DESTINATION = "message-destination";
61     public static final String JavaDoc MESSAGE_DESTINATION_NAME = "message-destination-name";
62     public static final String JavaDoc MESSAGE_DESTINATION_TYPE = "message-destination-type";
63     public static final String JavaDoc MESSAGE_DESTINATION_USAGE = "message-destination-usage";
64     public static final String JavaDoc MESSAGE_DESTINATION_LINK = "message-destination-link";
65
66     public static final String JavaDoc RESOURCE_ENV_REFERENCE = "resource-env-ref";
67     public static final String JavaDoc RESOURCE_ENV_REFERENCE_NAME = "resource-env-ref-name";
68     public static final String JavaDoc RESOURCE_ENV_REFERENCE_TYPE = "resource-env-ref-type";
69
70     public static final String JavaDoc PERSISTENCE_CONTEXT_REF = "persistence-context-ref";
71     public static final String JavaDoc PERSISTENCE_CONTEXT_REF_NAME = "persistence-context-ref-name";
72
73     public static final String JavaDoc PERSISTENCE_PROPERTY = "persistence-property";
74
75     public static final String JavaDoc PERSISTENCE_UNIT_NAME = "persistence-unit-name";
76     public static final String JavaDoc PERSISTENCE_CONTEXT_TYPE = "persistence-context-type";
77     public static final String JavaDoc PERSISTENCE_UNIT_REF = "persistence-unit-ref";
78     public static final String JavaDoc PERSISTENCE_UNIT_REF_NAME = "persistence-unit-ref-name";
79
80     public static final String JavaDoc JMS_QUEUE_DEST_TYPE = "javax.jms.Queue";
81     public static final String JavaDoc JMS_TOPIC_DEST_TYPE = "javax.jms.Topic";
82
83     public static final String JavaDoc RESOURCE_TYPE = "res-type";
84     public static final String JavaDoc RESOURCE_AUTHORIZATION = "res-auth";
85     
86     public static final String JavaDoc ROLE = "security-role";
87     public static final String JavaDoc ROLE_NAME = "role-name";
88     public static final String JavaDoc ROLE_REFERENCE = "security-role-ref";
89     public static final String JavaDoc ROLE_LINK = "role-link";
90     public static final String JavaDoc RUNAS_SPECIFIED_IDENTITY = "run-as";
91
92     public static final String JavaDoc ENCODING_STYLE = "encoding-style";
93     public static final String JavaDoc JAVA_TYPE = "java-type";
94
95     public static final String JavaDoc WEB_SERVICE_ENDPOINT = "web-service-endpoint";
96     public static final String JavaDoc XML_NAMESPACE_PREFIX = "xml:";
97     public static final String JavaDoc LANG = "lang";
98
99     public static final String JavaDoc NAME_VALUE_PAIR_NAME = "name";
100     public static final String JavaDoc NAME_VALUE_PAIR_VALUE = "value";
101
102     // injection tags
103
public static final String JavaDoc INJECTION_TARGET = "injection-target";
104     public static final String JavaDoc INJECTION_TARGET_CLASS = "injection-target-class";
105     public static final String JavaDoc INJECTION_TARGET_NAME = "injection-target-name";
106     public static final String JavaDoc MAPPED_NAME = "mapped-name";
107
108     public static final String JavaDoc POST_CONSTRUCT = "post-construct";
109     public static final String JavaDoc PRE_DESTROY = "pre-destroy";
110     public static final String JavaDoc LIFECYCLE_CALLBACK_CLASS = "lifecycle-callback-class";
111     public static final String JavaDoc LIFECYCLE_CALLBACK_METHOD = "lifecycle-callback-method";
112
113     // deployment extension related tags
114
public static final String JavaDoc DEPLOYMENT_EXTENSION = "deployment-extension";
115     public static final String JavaDoc EXTENSION_ELEMENT = "extension-element";
116     public static final String JavaDoc NAMESPACE = "namespace";
117     public static final String JavaDoc MUST_UNDERSTAND = "mustUnderstand";
118
119     public static final String JavaDoc J2EE_DEFAULTNAMESPACEPREFIX = "j2ee";
120     public static final String JavaDoc J2EE_NAMESPACE = "http://java.sun.com/xml/ns/j2ee";
121     public static final String JavaDoc JAVAEE_DEFAULTNAMESPACEPREFIX = "javaee";
122     public static final String JavaDoc JAVAEE_NAMESPACE = "http://java.sun.com/xml/ns/javaee";
123     public static final String JavaDoc XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
124
125     public static final String JavaDoc PERSISTENCE_XML_NAMESPACE = "urn:ejb3-namespace";
126 }
127
Popular Tags