001 /** 002 * 003 * Licensed to the Apache Software Foundation (ASF) under one or more 004 * contributor license agreements. See the NOTICE file distributed with 005 * this work for additional information regarding copyright ownership. 006 * The ASF licenses this file to You under the Apache License, Version 2.0 007 * (the "License"); you may not use this file except in compliance with 008 * the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018 package org.apache.geronimo.j2ee.j2eeobjectnames; 019 020 /** 021 * @version $Rev:385692 $ $Date: 2006-11-02 15:30:55 -0800 (Thu, 02 Nov 2006) $ 022 */ 023 public class NameFactory { 024 025 public static final Object JSR77_BASE_NAME_PROPERTY = "org.apache.geronimo.name.javax.management.j2ee.BaseName"; 026 027 028 // Manadatory key properties from JSR77.3.1.1.1.3 029 public static final String J2EE_TYPE = "j2eeType"; 030 public static final String J2EE_NAME = "name"; 031 032 // ManagedObject j2eeTypes from JSR77.3-1 033 public static final String J2EE_DOMAIN = "J2EEDomain"; 034 public static final String J2EE_SERVER = "J2EEServer"; 035 public static final String J2EE_APPLICATION = "J2EEApplication"; 036 public static final String APP_CLIENT_MODULE = "AppClientModule"; 037 public static final String EJB_MODULE = "EJBModule"; 038 public static final String WEB_MODULE = "WebModule"; 039 public static final String RESOURCE_ADAPTER_MODULE = "ResourceAdapterModule"; 040 public static final String ENTITY_BEAN = "EntityBean"; 041 public static final String STATEFUL_SESSION_BEAN = "StatefulSessionBean"; 042 public static final String STATELESS_SESSION_BEAN = "StatelessSessionBean"; 043 public static final String MESSAGE_DRIVEN_BEAN = "MessageDrivenBean"; 044 public static final String SERVLET = "Servlet"; 045 public static final String RESOURCE_ADAPTER = "ResourceAdapter"; 046 public static final String JAVA_MAIL_RESOURCE = "JavaMailResource"; 047 public static final String JCA_RESOURCE = "JCAResource"; 048 // public static final String JCA_RESOURCE_ADAPTER defined in geronimo extensions 049 public static final String JCA_CONNECTION_FACTORY = "JCAConnectionFactory"; 050 public static final String JCA_MANAGED_CONNECTION_FACTORY = "JCAManagedConnectionFactory"; 051 public static final String JDBC_RESOURCE = "JDBCResource"; 052 public static final String JDBC_DATASOURCE = "JDBCDataSource"; 053 public static final String JDBC_DRIVER = "JDBCDriver"; 054 public static final String JMS_RESOURCE = "JMSResource"; 055 public static final String JNDI_RESOURCE = "JNDIResource"; 056 public static final String JTA_RESOURCE = "JTAResource"; 057 public static final String RMI_IIOP_RESOURCE = "RMI_IIOPResource"; 058 public static final String URL_RESOURCE = "URLResource"; 059 public static final String JVM = "JVM"; 060 061 // abstract name components 062 public static final String J2EE_DEPLOYABLE_OBJECT = "J2EEDeployableObject"; 063 public static final String J2EE_MODULE = "J2EEModule"; 064 public static final String EJB = "EJB"; 065 public static final String SESSION_BEAN = "SessionBean"; 066 public static final String J2EE_RESOURCE = "J2EEResource"; 067 068 //used for J2EEApplication= when component is not deployed in an ear. 069 public static final String NULL = "null"; 070 071 //geronimo extensions 072 public static final String SERVICE_MODULE = "ServiceModule"; 073 // todo should these really be j2eeType or should we have a Geronimo-specific property? 074 public static final String TRANSACTION_MANAGER = "TransactionManager"; 075 public static final String TRANSACTION_LOG = "TransactionLog"; 076 public static final String XID_FACTORY = "XIDFactory"; 077 public static final String XID_IMPORTER = "XIDImporter"; 078 public static final String JCA_BOOTSTRAP_CONTEXT = "JCABootstrapContext"; 079 public static final String JCA_CONNECTION_TRACKER = "JCAConnectionTracker"; 080 public static final String JCA_ADMIN_OBJECT = "JCAAdminObject"; 081 public static final String JCA_ACTIVATION_SPEC = "JCAActivationSpec"; 082 public static final String JCA_RESOURCE_ADAPTER = "JCAResourceAdapter"; 083 public static final String JCA_WORK_MANAGER = "JCAWorkManager"; 084 public static final String JCA_CONNECTION_MANAGER = "JCAConnectionManager"; 085 public static final String JCA_XA_TERMINATOR = "JCAXATerminator"; 086 public static final String WEB_FILTER = "WebFilter"; 087 public static final String URL_WEB_FILTER_MAPPING = "URLWebFilterMapping"; 088 public static final String SERVLET_WEB_FILTER_MAPPING = "ServletWebFilterMapping"; 089 public static final String URL_PATTERN = "URLPattern"; 090 public static final String GERONIMO_SERVICE = "GBean"; //copied in GBeanInfoBuilder to avoid dependencies in the wrong direction. 091 public static final String CORBA_SERVICE = "CORBABean"; 092 public static final String CORBA_NAME_SERVICE = "CORBANameService"; 093 public static final String JACC_MANAGER = "JACCManager"; 094 public static final String SYSTEM_LOG = "SystemLog"; 095 public static final String JAXR_CONNECTION_FACTORY = "JAXRConnectionFactory"; 096 public static final String CONFIG_BUILDER = "ConfigBuilder"; 097 public static final String MODULE_BUILDER = "ModuleBuilder"; 098 public static final String SECURITY_REALM = "SecurityRealm"; 099 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 }