1 19 package org.netbeans.modules.j2ee.websphere6.dd.beans; 20 21 25 public interface DDXmiConstants { 26 27 public static final String XMI_VERSION="XmiVersion"; 28 public static final String XMI_VERSION_ID="xmi:version"; 29 public static final String XMI_VERSION_STRING="2.0"; 30 31 public static final String NS_XMI="NamespaceXmi"; 32 public static final String NS_XMI_ID="xmlns:xmi"; 33 public static final String NS_XMI_STRING="http://www.omg.org/XMI"; 34 35 public static final String NS_EJB="NamespaceEjb"; 36 public static final String NS_EJB_STRING="ejb.xmi"; 37 public static final String NS_EJB_ID="xmlns:ejb"; 38 39 public static final String NS_EJB_BND="NamespaceEjbBnd"; 40 public static final String NS_EJB_BND_STRING="ejbbnd.xmi"; 41 public static final String NS_EJB_BND_ID="xmlns:ejbbnd"; 42 43 public static final String NS_EJB_EXT="NamespaceEjbExt"; 44 public static final String NS_EJB_EXT_STRING="ejbext.xmi"; 45 public static final String NS_EJB_EXT_ID="xmlns:ejbext"; 46 47 public static final String NS_APP="NamespaceApplication"; 48 public static final String NS_APP_STRING="application.xmi"; 49 public static final String NS_APP_ID="xmlns:application"; 50 51 52 public static final String NS_APP_BND="NamespaceApplicationBnd"; 53 public static final String NS_APP_BND_STRING="applicationbnd.xmi"; 54 public static final String NS_APP_BND_ID="xmlns:applicationbnd"; 55 56 public static final String NS_APP_EXT="NamespaceApplicationExtention"; 57 public static final String NS_APP_EXT_ID="xmlns:applicationext"; 58 public static final String NS_APP_EXT_STRING="applicationext.xmi"; 59 60 public static final String NS_COMMON="NamespaceCommon"; 61 public static final String NS_COMMON_STRING="common.xmi"; 62 public static final String NS_COMMON_ID="xmlns:common"; 63 64 public static final String NS_COMMON_BND="NamespaceCommonBnd"; 65 public static final String NS_COMMON_BND_STRING="commonbnd.xmi"; 66 public static final String NS_COMMON_BND_ID="xmlns:commonbnd"; 67 68 69 public static final String NS_WEB_APP="NameSpaceWebApplication"; 70 public static final String NS_WEB_APP_ID="xmlns:webapplication"; 71 public static final String NS_WEB_APP_STRING="webapplication.xmi"; 72 73 public static final String NS_WEB_APP_EXT="NameSpaceWebAppExtension"; 74 public static final String NS_WEB_APP_EXT_ID="xmlns:webappext"; 75 public static final String NS_WEB_APP_EXT_STRING="webappext.xmi"; 76 77 public static final String NS_WEB_APP_BND="NameSpaceWebAppBinding"; 78 public static final String NS_WEB_APP_BND_ID="xmlns:webappbnd"; 79 public static final String NS_WEB_APP_BND_STRING="webappbnd.xmi"; 80 81 public static final String NS_XSI="NamespaceXsi"; 82 public static final String NS_XSI_ID="xmlns:xsi"; 83 public static final String NS_XSI_STRING="http://www.w3.org/2001/XMLSchema-instance"; 84 85 public static final String VIRTUAL_HOST_NAME="VirtualHostName"; 86 public static final String VIRTUAL_HOST_NAME_ID="virtualHostName"; 87 88 public static final String TYPE="Type"; 89 public static final String NAME="Name"; 90 public static final String XMI_ID="XmiId"; 91 public static final String XMI_ID_ID="xmi:id"; 92 93 public static final String JNDI_NAME_ID="jndiName"; 94 public static final String HREF_ID="href"; 95 public static final String XMI_TYPE_ID="xmi:type"; 96 public static final String NAME_ID="name"; 97 98 99 static public final String URI_ID="uri"; 100 static public final String MIME_TYPE_ID="mimeType"; 101 static public final String ERROR_PAGE_ID="errorPage"; 102 static public final String DEFAULT_PAGE_ID="defaultPage"; 103 static public final String RES_AUTH_ID="resAuth"; 104 static public final String GROUPS_ID="groups"; 105 public static final String USERS_ID="users"; 106 public static final String ROLE_ID="role"; 107 static public final String SPECIAL_SUBJECTS_ID="specialSubjects"; 108 109 public static final String APPLICATION="Application"; 110 public static final String APPLICATION_ID="application"; 111 public static final String APPLICATION_HREF="ApplicationHref"; 112 113 public static final String WEB_APPLICATION="WebApplication"; 114 public static final String WEB_APPLICATION_ID="webApp"; 115 public static final String WEB_aPPLICATION_ID="webapp"; 116 public static final String WEB_APPLICATION_HREF="WebApplicationHref"; 117 118 119 public static final String EJB_JAR="EjbJar"; 120 public static final String EJB_JAR_ID="ejbJar"; 121 public static final String EJB_JAR_HREF="EjbJarHref"; 122 123 124 public static final String ALT_ROOT="AltRoot"; 125 public static final String ALT_BINDINGS_ID="altBindings"; 126 public static final String ALT_EXTENSIONS_ID="altExtensions"; 127 public static final String ALT_ROOT_ID="altRoot"; 128 130 public static final String MODULE="Module"; 131 public static final String MODULE_ID="module"; 132 static public final String MODULE_XMI_TYPE="ModuleXmiType"; 133 static public final String MODULE_HREF="ModuleHref"; 134 static public final String MODULE_EXTENSIONS_ID="moduleExtensions"; 135 static public final String MODULE_EXTENSIONS="ModuleExtensions"; 136 static public final String MODULE_EXTENSIONS_XMI_ID="ModuleExtensionsXmiId"; 137 static public final String MODULE_EXTENSIONS_ALT_ROOT="ModuleExtensionsAltRoot"; 138 static public final String MODULE_EXTENSIONS_ALT_EXTENSIONS="ModuleExtensionsAltExtensions"; 139 static public final String MODULE_EXTENSIONS_ALT_BINDINGS="ModuleExtensionsAltBindings"; 140 static public final String MODULE_EXTENSIONS_XMI_TYPE="ModuleExtensionsXmiType"; 141 142 143 static public final String MODULE_TYPE_EJB_STRING="application:EjbModule"; 144 static public final String MODULE_TYPE_WEB_STRING="application:WebModule"; 145 static public final String MODULE_TYPE_JAVA_CLIENT_MODULE_STRING="application:JavaClientModule"; 146 static public final String MODULE_TYPE_CONNECTOR_MODULE_STRING="application:ConnectorModule"; 147 static public final String [] MODULE_TYPE_STRINGS= { 148 MODULE_TYPE_EJB_STRING, 149 MODULE_TYPE_WEB_STRING, 150 MODULE_TYPE_JAVA_CLIENT_MODULE_STRING, 151 MODULE_TYPE_CONNECTOR_MODULE_STRING}; 152 153 154 static public final String MODULE_EXTENSIONS_TYPE_EJB_STRING="applicationext:EjbModuleExtension"; 155 static public final String MODULE_EXTENSIONS_TYPE_WEB_STRING="applicationext:WebModuleExtension"; 156 static public final String MODULE_EXTENSIONS_TYPE_JAVA_CLIENT_MODULE_STRING="applicationext:JavaClientModuleExtension"; 157 static public final String MODULE_EXTENSIONS_TYPE_CONNECTOR_MODULE_STRING="applicationext:ConnectorModuleExtension"; 158 static public final String [] MODULE_EXTENSIONS_TYPE_STRINGS= { 159 MODULE_EXTENSIONS_TYPE_EJB_STRING, 160 MODULE_EXTENSIONS_TYPE_WEB_STRING, 161 MODULE_EXTENSIONS_TYPE_JAVA_CLIENT_MODULE_STRING, 162 MODULE_EXTENSIONS_TYPE_CONNECTOR_MODULE_STRING}; 163 164 165 166 static public final String MODULE_TYPE_EJB="Ejb"; 167 static public final String MODULE_TYPE_WEB="Web"; 168 static public final String MODULE_TYPE_JAVA_CLIENT="JavaClient"; 169 static public final String MODULE_TYPE_CONNECTOR="Connector"; 170 static public final String [] MODULE_TYPES={ 171 MODULE_TYPE_EJB, 172 MODULE_TYPE_WEB, 173 MODULE_TYPE_JAVA_CLIENT, 174 MODULE_TYPE_CONNECTOR 175 }; 176 177 178 179 static public final String EJB_EXTENSIONS_TYPE_SESSION="ejbext:SessionExtension"; 180 static public final String EJB_EXTENSIONS_TYPE_ENTITY="ejbext:EntityExtension"; 181 static public final String EJB_EXTENSIONS_TYPE_MESSAGEDRIVEN="ejbext:MessageDrivenExtension"; 182 183 static public final String EJB_ENTERPRISE_BEAN_TYPE_SESSION="ejb:Session"; 184 static public final String EJB_ENTERPRISE_BEAN_TYPE_ENTITY="ejb:Entity"; 185 static public final String EJB_ENTERPRISE_BEAN_TYPE_MESSAGEDRIVEN="ejb:MessageDriven"; 186 static public final String EJB_ENTERPRISE_BEAN_TYPE_CONTAINER_MANAGED_ENTITY="ejb:ContainerManagedEntity"; 187 188 189 static public final String TYPE_APP_EXT_EJB_ID="applicationext:EjbModuleExtension"; 190 static public final String TYPE_APP_EXT_WEB_ID="applicationext:WebModuleExtension"; 191 static public final String TYPE_APP_EXT_APP_ID="applicationext:ApplicationExtension"; 192 193 static public final String TYPE_APP_BND_ID="applicationbnd:ApplicationBinding"; 194 195 static public final String TYPE_WEB_APP_EXT_ID="webappext:WebAppExtension"; 196 static public final String TYPE_WEB_APP_BND_ID="webappbnd:WebAppBinding"; 197 198 static public final String TYPE_EJB_BND_ID="ejbbnd:EJBJarBinding"; 199 static public final String TYPE_EJB_EXT_ID="ejbext:EJBJarExtension"; 200 201 202 static public final String RELOAD_INTERVAL_ID="reloadInterval"; 203 static public final String RELOAD_INTERVAL="ReloadInterval"; 204 205 static public final String RELOAD_ENABLED_ID="reloadingEnabled"; 206 static public final String RELOAD_ENABLED="ReloadEnabled"; 207 208 static public final String ADDITIONAL_CLASSPATH_ID="additionalClassPath"; 209 static public final String ADDITIONAL_CLASSPATH="AdditionalClassPath"; 210 211 static public final String FILE_SERVING_ENABLED_ID="fileServingEnabled"; 212 static public final String FILE_SERVING_ENABLED="FileServingEnabled"; 213 214 static public final String DIRECTORY_BROWSING_ENABLED_ID="directoryBrowsingEnabled"; 215 static public final String DIRECTORY_BROWSING_ENABLED="DirectoryBrowsingEnabled"; 216 217 static public final String SERVE_SERVLETS_ID="serveServletsByClassnameEnabled"; 218 static public final String SERVE_SERVLETS="ServeServletsByClassnameEnabled"; 219 220 static public final String RES_REF_BINDINGS_XMI_ID="ResRefBindingsXmiId"; 221 static public final String RES_REF_BINDINGS_XMI_TYPE="ResRefBindingsXmiType"; 222 static public final String RES_REF_BINDINGS_JNDI_NAME="ResRefBindingsJndiName"; 223 static public final String RES_REF_BINDINGS_ROOT="ResRefBindingsRoot"; 224 static public final String RES_REF_BINDINGS="ResRefBindings"; 225 226 static public final String RES_ENV_REF_BINDINGS_XMI_ID="ResEnvRefBindingsXmiId"; 227 static public final String RES_ENV_REF_BINDINGS_XMI_TYPE="ResEnvRefBindingsXmiType"; 228 static public final String RES_ENV_REF_BINDINGS_JNDI_NAME="ResEnvRefBindingsJndiName"; 229 static public final String RES_ENV_REF_BINDINGS_ROOT="ResEnvRefBindingsRoot"; 230 static public final String RES_ENV_REF_BINDINGS="ResEnvRefBindings"; 231 232 233 static public final String EJB_REF_BINDINGS_XMI_ID="EjbRefBindingsXmiId"; 234 static public final String EJB_REF_BINDINGS_XMI_TYPE="EjbRefBindingsXmiType"; 235 static public final String EJB_REF_BINDINGS_JNDI_NAME="EjbRefBindingsJndiName"; 236 static public final String EJB_REF_BINDINGS_ROOT="EjbRefBindingsRoot"; 237 static public final String EJB_REF_BINDINGS="EjbRefBindings"; 238 static public final String EJB_BINDINGS_ID="ejbBindings"; 239 240 static public final String BINDING_EJB_REF_TYPE_LOCAL_STRING = "common:EJBLocalRef"; 241 static public final String BINDING_EJB_REF_TYPE_REMOTE_STRING = "common:EJBRemoteRef"; 242 static public final String [] BINDING_EJB_REF_TYPES = new String [] { 243 BINDING_EJB_REF_TYPE_LOCAL_STRING, 244 BINDING_EJB_REF_TYPE_REMOTE_STRING 245 }; 246 247 static public final String EXTENDED_SERVLETS="ExtendedServlets"; 248 static public final String EXTENDED_SERVLETS_ID="extendedServlets"; 249 static public final String EXTENDED_SERVLETS_XMI_ID="ExtendedServletsXmiId"; 250 251 252 static public final String BINDING_EJB_REF_HREF="BindingEjbHref"; 253 static public final String BINDING_EJB_REF="BindingEjbRef"; 254 static public final String BINDING_EJB_REF_ID="bindingEjbRef"; 255 256 static public final String BINDING_RESOURCE_REF_HREF="BindingResourceRefHref"; 257 static public final String BINDING_RESOURCE_REF="BindingResourceRef"; 258 static public final String BINDING_RESOURCE_REF_ID="bindingResourceRef"; 259 static public final String BINDING_RESOURCE_ENV_REF_HREF="BindingResourceEnvRefHref"; 260 static public final String BINDING_RESOURCE_ENV_REF="BindingResourceEnvRef"; 261 static public final String BINDING_RESOURCE_ENV_REF_ID="bindingResourceEnvRef"; 262 263 264 static public final String MARKUP_LANGUAGES_XMI_ID="MarkupLanguagesXmiId"; 265 static public final String MARKUP_LANGUAGES_NAME="MarkupLanguagesName"; 266 static public final String MARKUP_LANGUAGES_MIME_TYPE="MarkupLanguagesMimeType"; 267 static public final String MARKUP_LANGUAGES_ERROR_PAGE="MarkupLanguagesErrorPage"; 268 static public final String MARKUP_LANGUAGES_DEFAULT_PAGE="MarkupLanguagesDefaultPage"; 269 static public final String PRECOMPILE_JSPS="PreCompileJPSs"; 270 static public final String PRECOMPILE_JSPS_ID="preCompileJSPs"; 271 static public final String AUTO_RESPONSE_ENCODING="AutoResponseEncoding"; 272 static public final String AUTO_RESPONSE_ENCODING_ID="autoResponseEncoding"; 273 static public final String AUTO_REQUEST_ENCODING="AutoRequestEncoding"; 274 static public final String AUTO_REQUEST_ENCODING_ID="autoRequestEncoding"; 275 276 static public final String DEFAULT_ERROR_PAGE="DefaultErrorPage"; 277 static public final String DEFAULT_ERROR_PAGE_ID="defaultErrorPage"; 278 279 static public final String PAGES_ID="pages"; 280 static public final String PAGES = "Pages"; static public final String PAGES_XMI_ID="PagesXmiId"; 282 static public final String PAGES_NAME="PagesName"; 283 static public final String PAGES_URI="PagesUri"; 284 285 static public final String NS_COMMONEXT_LOCALTRAN_ID="xmlns:commonext.localtran"; 286 static public final String NS_COMMONEXT_LOCALTRAN="NamespaceCommonextLocaltran"; 287 static public final String NS_COMMONEXT_LOCALTRAN_STRING="commonext.localtran.xmi"; 288 289 290 static public final String EJB_BINDINGS="EjbBindings"; 291 static public final String EJB_BINDINGS_XMI_ID="EjbBindingsXmiId"; 292 static public final String EJB_BINDINGS_XMI_TYPE="EjbBindingsXmiType"; 293 static public final String EJB_BINDINGS_JNDI_NAME="EjbBindingsJNDIName"; 294 295 296 static public final String AUTO_LOAD_FILTERS_ID="autoLoadFilters"; 297 static public final String AUTO_LOAD_FILTERS="AutoLoadFilters"; 298 299 300 301 static public final String APP_HREF_PREFIX = "META-INF/application.xml#"; 302 static public final String EJBJAR_HREF_PREFIX = "META-INF/ejb-jar.xml#"; 303 static public final String WEB_HREF_PREFIX = "WEB-INF/web.xml#"; 304 305 static public final String EJB_EXTENSIONS="EjbExtensions"; 306 static public final String EJB_EXTENSIONS_ID="ejbExtensions"; 307 static public final String EJB_EXTENSIONS_XMI_ID="EjbExtensionsXmiId"; 308 static public final String EJB_EXTENSIONS_XMI_TYPE="EjbExtensionsXmiType"; 309 static public final String EJB_EXTENSIONS_XMI_NAME="EjbExtensionsXmiName"; 310 311 312 static public final String ENTERPRISE_BEAN_HREF="EnterpriseBeanHref"; 313 static public final String ENTERPRISE_BEAN_TYPE="EnterpriseBeanType"; 314 static public final String ENTERPRISE_BEAN="EnterpriseBean"; 315 static public final String ENTERPRISE_BEAN_ID="enterpriseBean"; 316 317 318 static public final String [] LOCAL_TRANSACTION_BOUNDARY_TYPES={"BeanMethod", "ActivitySession"}; 319 static public final String [] LOCAL_TRANSACTION_RESOLVER_TYPES={"Application","ContainerAtBoundary"}; 320 static public final String [] LOCAL_TRANSACTION_UNRESOLVED_ACTION_TYPES={"Commi","Rollback"}; 321 static public final String LOCAL_TRANSACTION_ID="localTransaction"; 322 static public final String LOCAL_TRANSACTION="LocalTransaction"; 323 static public final String LOCAL_TRANSACTION_XMI_ID="LocalTransactionXmiId"; 324 static public final String LOCAL_TRANSACTION_UNRESOLVED_ACTION="LocalTransactionUnresolverAction"; 325 static public final String LOCAL_TRANSACTION_BOUNDARY="LocalTransactionBoundary"; 326 static public final String LOCAL_TRANSACTION_RESOLVER="LocalTransactionResolver"; 327 static public final String UNRESOLVED_ACTION_ID="unresolvedAction"; 328 static public final String BOUNDARY_ID="boundary"; 329 static public final String RESOLVER_ID="resolver"; 330 331 332 static public final String EXTENDED_SERVLET="ExtendedServlet"; 333 static public final String MARKUP_LANGUAGES="MarkupLanguages"; 334 static public final String EXTENDED_SERVLET_ID="extendedServlet"; 335 static public final String MARKUP_LANGUAGES_ID="markupLanguages"; 336 337 static public final String CURRENT_BACKEND_ID_ID="currentBackendId"; 338 static public final String CURRENT_BACKEND_ID="CurrentBackendId"; 339 340 341 static public final String CMP_CONNECTION_FACTORY="CMPConnectionFactory"; 342 static public final String CMP_CONNECTION_FACTORY_ID="cmpConnectionFactory"; 343 static public final String CMP_CONNECTION_FACTORY_XMI_ID="CMPConnectionFactoryXmiId"; 344 static public final String CMP_CONNECTION_FACTORY_JNDI_NAME="CMPConnectionFactoryJndiName"; 345 static public final String CMP_CONNECTION_FACTORY_RES_AUTH="CMPConnectionFactoryResAuth"; 346 static public final String CMP_RES_AUTH_TYPE_PER_CONNECTION_FACTORY="Per_Connection_Factory"; 347 static public final String CMP_RES_AUTH_TYPE_CONTAINER="Container"; 348 static public final String []CMP_RES_AUTH_TYPES={CMP_RES_AUTH_TYPE_PER_CONNECTION_FACTORY,CMP_RES_AUTH_TYPE_CONTAINER}; 349 static public final String DEFAULT_CMP_CONNECTION_FACTORY_ID="defaultCMPConnectionFactory"; 350 static public final String DEFAULT_CMP_CONNECTION_FACTORY="DefaultCMPConnectionFactory"; 351 352 353 static public final String RES_REF_BINDINGS_ID="resRefBindings"; 354 static public final String EJB_REF_BINDINGS_ID="ejbRefBindings"; 355 static public final String RES_ENV_REF_BINDINGS_ID="resEnvRefBindings"; 356 357 static public final String BINDING_REFERENCE_TYPE_RESOURCE="Resource Reference"; 358 static public final String BINDING_REFERENCE_TYPE_EJB="Ejb Reference"; 359 static public final String BINDING_REFERENCE_TYPE_RESOURCE_ENV="Resource Environment Reference"; 360 static public final String [] BINDING_REFERENCE_TYPES={ 361 BINDING_REFERENCE_TYPE_RESOURCE, 362 BINDING_REFERENCE_TYPE_EJB, 363 BINDING_REFERENCE_TYPE_RESOURCE_ENV}; 364 365 366 public static final String AUTH_TABLE_ID="authorizationTable"; 367 public static final String AUTH_TABLE="AuthorizationTable"; 368 public static final String AUTH_TABLE_XMI_ID=AUTH_TABLE+XMI_ID; 369 public static final String AUTHORIZATIONS="authorizations"; 370 public static final String AUTHORIZATION = "Authorization"; 371 public static final String AUTH_ID=AUTHORIZATION+XMI_ID; 372 373 374 public static final String RUN_AS_MAP="RunAsMap"; 375 public static final String RUN_AS_MAP_ID="runAsMap"; 376 public static final String RUN_AS_MAP_XMI_ID=RUN_AS_MAP+XMI_ID; 377 378 public static final String ROLE = "Role"; public static final String GROUPS = "Groups"; public static final String USERS = "Users"; 381 public static final String GROUP = "Group"; public static final String USER = "User"; 383 384 public static final String ROLE_HREF = "RoleHref"; 385 public static final String GROUPS_XMI_ID = GROUPS+XMI_ID; 386 public static final String GROUPS_NAME = GROUPS+NAME; 387 public static final String USERS_XMI_ID = USERS+XMI_ID; 388 public static final String USERS_NAME = USERS+NAME; 389 390 public static final String USERS_DEFAULT_NAME="samples"; 391 public static final String GROUPS_DEFAULT_NAME="sampadmn"; 392 393 394 static public final String SPECIAL_SUBJECTS="SpecialSubjects"; 395 static public final String SPECIAL_SUBJECTS_TYPE=SPECIAL_SUBJECTS+TYPE; 396 static public final String SPECIAL_SUBJECTS_XMI_ID=SPECIAL_SUBJECTS+XMI_ID; 397 static public final String SPECIAL_SUBJECTS_NAME=SPECIAL_SUBJECTS+NAME; 398 399 static public final String SPECIAL_SUBJECTS_TYPE_EVERYONE_STRING="applicationbnd:Everyone"; 400 static public final String SPECIAL_SUBJECTS_TYPE_ALL_AUTHENTICATED_USERS_STRING="applicationbnd:AllAuthenticatedUsers"; 401 static public final String SPECIAL_SUBJECTS_TYPE_SERVER_STRING="applicationbnd:Server"; 402 403 static public final String SPECIAL_SUBJECTS_TYPE_EVERYONE="Everyone"; 404 static public final String SPECIAL_SUBJECTS_TYPE_ALL_AUTHENTICATED_USERS="AllAuthenticatedUsers"; 405 406 407 static public final String []SPECIAL_SUBJECTS_TYPES= { 408 SPECIAL_SUBJECTS_TYPE_EVERYONE, 409 SPECIAL_SUBJECTS_TYPE_ALL_AUTHENTICATED_USERS 410 }; 411 412 413 static public final String SHARED_SESSION_CONTEXT_ID="sharedSessionContext"; 414 static public final String SHARED_SESSION_CONTEXT="SharedSessionContext"; 415 416 417 } | Popular Tags |