1 19 20 23 24 package org.netbeans.modules.j2ee.sun.ws7.j2ee; 25 26 import javax.enterprise.deploy.spi.DeploymentManager ; 27 import org.netbeans.modules.j2ee.deployment.plugins.api.J2eePlatformFactory; 28 import org.netbeans.modules.j2ee.deployment.plugins.api.J2eePlatformImpl; 29 import org.netbeans.modules.j2ee.sun.ws7.dm.WS70SunDeploymentManager; 30 import org.openide.util.NbBundle; 31 35 public class WS70J2eePlatformFactory extends J2eePlatformFactory{ 36 37 40 public WS70J2eePlatformFactory() { 41 } 42 43 public J2eePlatformImpl getJ2eePlatformImpl(DeploymentManager dm) { 44 WS70SunDeploymentManager manager = (WS70SunDeploymentManager)dm; 45 46 String location = manager.getServerLocation(); 47 return new WS70J2eePlatformImpl(location, 48 NbBundle.getMessage(WS70J2eePlatformFactory.class, "LBL_WS70J2eePlatformDisplayName")); 49 } 50 } 51 | Popular Tags |