001    /**
002     *  Licensed to the Apache Software Foundation (ASF) under one or more
003     *  contributor license agreements.  See the NOTICE file distributed with
004     *  this work for additional information regarding copyright ownership.
005     *  The ASF licenses this file to You under the Apache License, Version 2.0
006     *  (the "License"); you may not use this file except in compliance with
007     *  the License.  You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     *  Unless required by applicable law or agreed to in writing, software
012     *  distributed under the License is distributed on an "AS IS" BASIS,
013     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     *  See the License for the specific language governing permissions and
015     *  limitations under the License.
016     */
017    package org.apache.geronimo.j2ee.j2eeobjectnames;
018    
019    /**
020     * @version $Rev:385692 $ $Date: 2007-03-08 08:18:07 -0500 (Thu, 08 Mar 2007) $
021     */
022    public class NameFactory {
023    
024        public static final Object JSR77_BASE_NAME_PROPERTY = "org.apache.geronimo.name.javax.management.j2ee.BaseName";
025    
026    
027        // Manadatory key properties from JSR77.3.1.1.1.3
028        public static final String J2EE_TYPE = "j2eeType";
029        public static final String J2EE_NAME = "name";
030    
031        // ManagedObject j2eeTypes from JSR77.3-1
032        public static final String J2EE_DOMAIN = "J2EEDomain";
033        public static final String J2EE_SERVER = "J2EEServer";
034        public static final String J2EE_APPLICATION = "J2EEApplication";
035        public static final String APP_CLIENT_MODULE = "AppClientModule";
036        public static final String EJB_MODULE = "EJBModule";
037        public static final String WEB_MODULE = "WebModule";
038        public static final String RESOURCE_ADAPTER_MODULE = "ResourceAdapterModule";
039        public static final String ENTITY_BEAN = "EntityBean";
040        public static final String STATEFUL_SESSION_BEAN = "StatefulSessionBean";
041        public static final String STATELESS_SESSION_BEAN = "StatelessSessionBean";
042        public static final String MESSAGE_DRIVEN_BEAN = "MessageDrivenBean";
043        public static final String SERVLET = "Servlet";
044        public static final String RESOURCE_ADAPTER = "ResourceAdapter";
045        public static final String JAVA_MAIL_RESOURCE = "JavaMailResource";
046        public static final String JCA_RESOURCE = "JCAResource";
047    //    public static final String JCA_RESOURCE_ADAPTER defined in geronimo extensions
048        public static final String JCA_CONNECTION_FACTORY = "JCAConnectionFactory";
049        public static final String JCA_MANAGED_CONNECTION_FACTORY = "JCAManagedConnectionFactory";
050        public static final String JDBC_RESOURCE = "JDBCResource";
051        public static final String JDBC_DATASOURCE = "JDBCDataSource";
052        public static final String JDBC_DRIVER = "JDBCDriver";
053        public static final String JMS_RESOURCE = "JMSResource";
054        public static final String JNDI_RESOURCE = "JNDIResource";
055        public static final String JTA_RESOURCE = "JTAResource";
056        public static final String RMI_IIOP_RESOURCE = "RMI_IIOPResource";
057        public static final String URL_RESOURCE = "URLResource";
058        public static final String JVM = "JVM";
059    
060        // abstract name components
061        public static final String J2EE_DEPLOYABLE_OBJECT = "J2EEDeployableObject";
062        public static final String J2EE_MODULE = "J2EEModule";
063        public static final String EJB = "EJB";
064        public static final String SESSION_BEAN = "SessionBean";
065        public static final String J2EE_RESOURCE = "J2EEResource";
066    
067        //used for J2EEApplication= when component is not deployed in an ear.
068        public static final String NULL = "null";
069    
070        //geronimo extensions
071        public static final String SERVICE_MODULE = "ServiceModule";
072        // todo should these really be j2eeType or should we have a Geronimo-specific property?
073        public static final String TRANSACTION_MANAGER = "TransactionManager";
074        public static final String TRANSACTION_LOG = "TransactionLog";
075        public static final String XID_FACTORY = "XIDFactory";
076        public static final String XID_IMPORTER = "XIDImporter";
077        public static final String JCA_BOOTSTRAP_CONTEXT = "JCABootstrapContext";
078        public static final String JCA_CONNECTION_TRACKER = "JCAConnectionTracker";
079        public static final String JCA_ADMIN_OBJECT = "JCAAdminObject";
080        public static final String JCA_ACTIVATION_SPEC = "JCAActivationSpec";
081        public static final String JCA_RESOURCE_ADAPTER = "JCAResourceAdapter";
082        public static final String JCA_WORK_MANAGER = "JCAWorkManager";
083        public static final String JCA_CONNECTION_MANAGER = "JCAConnectionManager";
084        public static final String JCA_XA_TERMINATOR = "JCAXATerminator";
085        public static final String WEB_FILTER = "WebFilter";
086        public static final String URL_WEB_FILTER_MAPPING = "URLWebFilterMapping";
087        public static final String SERVLET_WEB_FILTER_MAPPING = "ServletWebFilterMapping";
088        public static final String URL_PATTERN = "URLPattern";
089        public static final String GERONIMO_SERVICE = "GBean"; //copied in GBeanInfoBuilder to avoid dependencies in the wrong direction.
090        public static final String CORBA_SERVICE = "CORBABean";
091        public static final String CORBA_NAME_SERVICE = "CORBANameService";
092        public static final String JACC_MANAGER = "JACCManager";
093        public static final String SYSTEM_LOG = "SystemLog";
094        public static final String JAXR_CONNECTION_FACTORY = "JAXRConnectionFactory";
095        public static final String CONFIG_BUILDER = "ConfigBuilder";
096        public static final String MODULE_BUILDER = "ModuleBuilder";
097        public static final String SECURITY_REALM = "SecurityRealm";
098        public static final String LOGIN_MODULE = "LoginModule";
099        public static final String APP_CLIENT = "AppClient";
100        public static final String PERSISTENCE_UNIT = "PersistenceUnit";
101        public static final String PERSISTENCE_UNIT_MODULE = "PersistenceUnitModule";
102        //jsr 88 configurer
103        public static final String DEPLOYMENT_CONFIGURER = "DeploymentConfigurer";
104        public static final String CONFIGURATION_STORE = "ConfigurationStore";
105        public static final String DEPLOYER = "Deployer"; //duplicated in Deployer
106        public static final String REALM_BRIDGE = "RealmBridge";
107        public static final String CONFIGURATION_ENTRY = "ConfigurationEntry";
108        public static final String PERSISTENT_CONFIGURATION_LIST = "PersistentConfigurationList"; //duplicated in FileConfigurationList
109    //    public static final String URL_PATTERN = "URLPattern";
110        public static final String SERVLET_TEMPLATE = "ServletTemplate";
111        public static final String SERVLET_WEB_SERVICE_TEMPLATE = "ServletWebServiceTemplate";
112        public static final String CORBA_CSS = "CORBACSS";
113        public static final String CORBA_TSS = "CORBATSS";
114        public static final String CORBA_SSL = "CORBASSL";
115        public static final String ORB_CONFIG = "ORBConfig";
116        public static final String WEB_SERVICE_LINK = "WSLink";
117        public static final String CORBA_TSS_LINK = "TSSLink";
118        public static final String KEY_GENERATOR = "KeyGenerator";
119        public static final String KEYSTORE_INSTANCE = "Keystore";
120    
121        // Added for CertificationAuthority
122        public static final String CERTIFICATION_AUTHORITY = "CertificationAuthority";
123        public static final String CERTIFICATE_STORE = "CertificateStore";
124        public static final String CERTIFICATE_REQUEST_STORE = "CertificateRequestStore";
125    }