View Javadoc

1   /**
2    *
3    *  Licensed to the Apache Software Foundation (ASF) under one or more
4    *  contributor license agreements.  See the NOTICE file distributed with
5    *  this work for additional information regarding copyright ownership.
6    *  The ASF licenses this file to You under the Apache License, Version 2.0
7    *  (the "License"); you may not use this file except in compliance with
8    *  the License.  You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   *  Unless required by applicable law or agreed to in writing, software
13   *  distributed under the License is distributed on an "AS IS" BASIS,
14   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   *  See the License for the specific language governing permissions and
16   *  limitations under the License.
17   */
18  package org.apache.geronimo.j2ee.j2eeobjectnames;
19  
20  /**
21   * @version $Rev:385692 $ $Date: 2006-11-02 15:30:55 -0800 (Thu, 02 Nov 2006) $
22   */
23  public class NameFactory {
24  
25      public static final Object JSR77_BASE_NAME_PROPERTY = "org.apache.geronimo.name.javax.management.j2ee.BaseName";
26  
27  
28      // Manadatory key properties from JSR77.3.1.1.1.3
29      public static final String J2EE_TYPE = "j2eeType";
30      public static final String J2EE_NAME = "name";
31  
32      // ManagedObject j2eeTypes from JSR77.3-1
33      public static final String J2EE_DOMAIN = "J2EEDomain";
34      public static final String J2EE_SERVER = "J2EEServer";
35      public static final String J2EE_APPLICATION = "J2EEApplication";
36      public static final String APP_CLIENT_MODULE = "AppClientModule";
37      public static final String EJB_MODULE = "EJBModule";
38      public static final String WEB_MODULE = "WebModule";
39      public static final String RESOURCE_ADAPTER_MODULE = "ResourceAdapterModule";
40      public static final String ENTITY_BEAN = "EntityBean";
41      public static final String STATEFUL_SESSION_BEAN = "StatefulSessionBean";
42      public static final String STATELESS_SESSION_BEAN = "StatelessSessionBean";
43      public static final String MESSAGE_DRIVEN_BEAN = "MessageDrivenBean";
44      public static final String SERVLET = "Servlet";
45      public static final String RESOURCE_ADAPTER = "ResourceAdapter";
46      public static final String JAVA_MAIL_RESOURCE = "JavaMailResource";
47      public static final String JCA_RESOURCE = "JCAResource";
48  //    public static final String JCA_RESOURCE_ADAPTER defined in geronimo extensions
49      public static final String JCA_CONNECTION_FACTORY = "JCAConnectionFactory";
50      public static final String JCA_MANAGED_CONNECTION_FACTORY = "JCAManagedConnectionFactory";
51      public static final String JDBC_RESOURCE = "JDBCResource";
52      public static final String JDBC_DATASOURCE = "JDBCDataSource";
53      public static final String JDBC_DRIVER = "JDBCDriver";
54      public static final String JMS_RESOURCE = "JMSResource";
55      public static final String JNDI_RESOURCE = "JNDIResource";
56      public static final String JTA_RESOURCE = "JTAResource";
57      public static final String RMI_IIOP_RESOURCE = "RMI_IIOPResource";
58      public static final String URL_RESOURCE = "URLResource";
59      public static final String JVM = "JVM";
60  
61      // abstract name components
62      public static final String J2EE_DEPLOYABLE_OBJECT = "J2EEDeployableObject";
63      public static final String J2EE_MODULE = "J2EEModule";
64      public static final String EJB = "EJB";
65      public static final String SESSION_BEAN = "SessionBean";
66      public static final String J2EE_RESOURCE = "J2EEResource";
67  
68      //used for J2EEApplication= when component is not deployed in an ear.
69      public static final String NULL = "null";
70  
71      //geronimo extensions
72      public static final String SERVICE_MODULE = "ServiceModule";
73      // todo should these really be j2eeType or should we have a Geronimo-specific property?
74      public static final String TRANSACTION_MANAGER = "TransactionManager";
75      public static final String TRANSACTION_LOG = "TransactionLog";
76      public static final String XID_FACTORY = "XIDFactory";
77      public static final String XID_IMPORTER = "XIDImporter";
78      public static final String JCA_BOOTSTRAP_CONTEXT = "JCABootstrapContext";
79      public static final String JCA_CONNECTION_TRACKER = "JCAConnectionTracker";
80      public static final String JCA_ADMIN_OBJECT = "JCAAdminObject";
81      public static final String JCA_ACTIVATION_SPEC = "JCAActivationSpec";
82      public static final String JCA_RESOURCE_ADAPTER = "JCAResourceAdapter";
83      public static final String JCA_WORK_MANAGER = "JCAWorkManager";
84      public static final String JCA_CONNECTION_MANAGER = "JCAConnectionManager";
85      public static final String JCA_XA_TERMINATOR = "JCAXATerminator";
86      public static final String WEB_FILTER = "WebFilter";
87      public static final String URL_WEB_FILTER_MAPPING = "URLWebFilterMapping";
88      public static final String SERVLET_WEB_FILTER_MAPPING = "ServletWebFilterMapping";
89      public static final String URL_PATTERN = "URLPattern";
90      public static final String GERONIMO_SERVICE = "GBean"; //copied in GBeanInfoBuilder to avoid dependencies in the wrong direction.
91      public static final String CORBA_SERVICE = "CORBABean";
92      public static final String CORBA_NAME_SERVICE = "CORBANameService";
93      public static final String JACC_MANAGER = "JACCManager";
94      public static final String SYSTEM_LOG = "SystemLog";
95      public static final String JAXR_CONNECTION_FACTORY = "JAXRConnectionFactory";
96      public static final String CONFIG_BUILDER = "ConfigBuilder";
97      public static final String MODULE_BUILDER = "ModuleBuilder";
98      public static final String SECURITY_REALM = "SecurityRealm";
99      public static final String LOGIN_MODULE = "LoginModule";
100     public static final String APP_CLIENT = "AppClient";
101     //jsr 88 configurer
102     public static final String DEPLOYMENT_CONFIGURER = "DeploymentConfigurer";
103     public static final String CONFIGURATION_STORE = "ConfigurationStore";
104     public static final String DEPLOYER = "Deployer"; //duplicated in Deployer
105     public static final String REALM_BRIDGE = "RealmBridge";
106     public static final String CONFIGURATION_ENTRY = "ConfigurationEntry";
107     public static final String PERSISTENT_CONFIGURATION_LIST = "PersistentConfigurationList"; //duplicated in FileConfigurationList
108 //    public static final String URL_PATTERN = "URLPattern";
109     public static final String SERVLET_TEMPLATE = "ServletTemplate";
110     public static final String SERVLET_WEB_SERVICE_TEMPLATE = "ServletWebServiceTemplate";
111     public static final String CORBA_CSS = "CORBACSS";
112     public static final String CORBA_TSS = "CORBATSS";
113     public static final String CORBA_SSL = "CORBASSL";
114     public static final String ORB_CONFIG = "ORBConfig";
115     public static final String WEB_SERVICE_LINK = "WSLink";
116     public static final String KEY_GENERATOR = "KeyGenerator";
117     public static final String KEYSTORE_INSTANCE = "Keystore";
118 }