1 23 package com.sun.enterprise.server.pluggable; 24 25 import java.util.Properties ; 26 27 import com.sun.enterprise.admin.AdminContext; 28 import com.sun.enterprise.admin.event.pluggable.NotificationFactory; 29 import com.sun.enterprise.admin.target.TargetFactory; 30 31 import com.sun.enterprise.pluggable.Utils; 32 33 import com.sun.enterprise.web.SchemaUpdater; 34 import com.sun.enterprise.web.WebContainerStartStopOperation; 35 import com.sun.enterprise.web.WebContainerAdminEventProcessor; 36 import com.sun.enterprise.diagnostics.DiagnosticAgent; 37 import com.sun.enterprise.deployment.pluggable.DeploymentFactory; 38 39 45 public class TomcatPluggableFeatureImpl extends Properties { 46 47 50 protected static Properties featureImplClasses; 51 52 static { 53 Properties props = new Properties (); 54 props.setProperty(Utils.getNQClassName(InternalServicesList.class), 55 "com.sun.enterprise.server.TomcatServices"); 56 props.setProperty(Utils.getNQClassName(LoggingSupport.class), 57 "com.sun.enterprise.server.logging.TomcatLoggingSupport"); 58 props.setProperty(Utils.getNQClassName(ApplicationLoaderFactory.class), 59 "com.sun.enterprise.server.pluggable.TomcatApplicationLoaderFactory"); 60 props.setProperty(Utils.getNQClassName(DeploymentFactory.class), 61 "com.sun.enterprise.deployment.pluggable.PEDeploymentFactory"); 62 63 props.setProperty(Utils.getNQClassName(NotificationFactory.class), 64 "com.sun.enterprise.admin.event.pluggable.PENotificationFactory"); 65 props.setProperty(Utils.getNQClassName(TargetFactory.class), 66 "com.sun.enterprise.admin.target.PETargetFactory"); 67 props.setProperty(Utils.getNQClassName(AdminContext.class), 68 "com.sun.enterprise.admin.server.core.AdminContextImpl"); 69 props.setProperty(Utils.getNQClassName(WebContainerStartStopOperation.class), 70 "com.sun.enterprise.web.PEWebContainerStartStopOperation"); 71 props.setProperty(Utils.getNQClassName(WebContainerAdminEventProcessor.class), 72 "com.sun.enterprise.web.PEWebContainerAdminEventProcessor"); 73 props.setProperty(Utils.getNQClassName(SchemaUpdater.class), 74 "com.sun.enterprise.web.PESchemaUpdater"); 75 props.setProperty(Utils.getNQClassName(SecuritySupport.class), 76 "com.sun.enterprise.security.SecuritySupportImpl"); 77 props.setProperty(Utils.getNQClassName(WebContainerFeatureFactory.class), 78 "com.sun.enterprise.web.PEWebContainerFeatureFactoryImpl"); 79 props.setProperty(Utils.getNQClassName(DiagnosticAgent.class), 80 "com.sun.enterprise.diagnostics.PEDiagnosticAgent"); 81 props.setProperty(Utils.getNQClassName(LBFeatureFactory.class), 82 "com.sun.enterprise.server.pluggable.PELBFeatureFactoryImpl"); 83 84 featureImplClasses = props; 85 } 86 87 90 public TomcatPluggableFeatureImpl() { 91 super(featureImplClasses); 92 } 93 94 } 95 | Popular Tags |