1 23 24 29 30 package com.sun.appserv.management.j2ee; 31 32 import com.sun.appserv.management.base.TypesMapper; 33 34 import com.sun.appserv.management.DomainRoot; 35 36 39 public final class J2EETypesMapper extends TypesMapper 40 { 41 private static J2EETypesMapper INSTANCE = null; 42 43 44 public static synchronized J2EETypesMapper 45 getInstance() 46 { 47 if ( INSTANCE == null ) 48 { 49 INSTANCE = new J2EETypesMapper(); 50 } 51 52 return( INSTANCE ); 53 } 54 55 56 private 57 J2EETypesMapper( ) 58 { 59 super( MBEANINTERFACES ); 60 } 61 62 63 66 private static final Class [] MBEANINTERFACES = 67 { 68 J2EEDomain.class, 69 J2EEServer.class, 70 J2EECluster.class, 71 J2EEApplication.class, 73 AppClientModule.class, 74 EJBModule.class, 75 WebModule.class, 76 ResourceAdapterModule.class, 77 ResourceAdapter.class, 78 EntityBean.class, 79 StatefulSessionBean.class, 80 StatelessSessionBean.class, 81 MessageDrivenBean.class, 82 Servlet.class, 83 JavaMailResource.class, 84 JCAResource.class, 85 JCAConnectionFactory.class, 86 JCAManagedConnectionFactory.class, 87 JDBCResource.class, 88 JDBCDataSource.class, 89 JDBCDriver.class, 90 JMSResource.class, 91 JNDIResource.class, 92 JTAResource.class, 93 RMIIIOPResource.class, 94 URLResource.class, 95 JVM.class, 96 WebServiceEndpoint.class, 97 }; 98 99 } 100 | Popular Tags |