1 19 package org.netbeans.modules.j2ee.websphere6; 20 21 import java.io.File ; 22 import org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException; 23 import org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties; 24 25 29 public class WSURIManager { 30 public static final String WSURI = "deployer:WebSphere:"; 32 38 39 public static InstanceProperties getInstanceProperties(String host, String port){ 40 InstanceProperties instanceProperties = 41 InstanceProperties.getInstanceProperties(WSURI+host+":"+port); 42 return instanceProperties; 43 } 44 57 public static InstanceProperties createInstanceProperties(String host, String port, String user, String password, String displayName) throws InstanceCreationException { 58 InstanceProperties instanceProperties = InstanceProperties.createInstanceProperties(WSURI+host+":"+port,user,password,displayName); 59 60 return instanceProperties; 61 } 62 63 64 } 65 | Popular Tags |