1 19 20 package org.netbeans.modules.j2ee.sun.api; 21 22 import java.beans.PropertyChangeListener ; 23 import java.io.File ; 24 import java.util.HashMap ; 25 import org.openide.nodes.Node; 26 27 31 public interface SunDeploymentManagerInterface extends Node.Cookie{ 32 33 34 String getUserName(); 35 36 37 String getPassword(); 38 39 40 void setUserName(String name); 41 42 43 void setPassword(String pw); 44 45 46 String getHost(); 47 48 49 int getPort(); 50 51 55 String getNonAdminPortNumber() ; 56 57 58 boolean isLocal(); 59 60 61 boolean isRunning(); 62 65 boolean isRunning(boolean forced); 66 67 68 public boolean isRestartNeeded(); 69 70 71 boolean isSecure(); 72 73 ServerInterface getManagement(); 74 75 79 void fixJVMDebugOptions() throws java.rmi.RemoteException ; 80 String getDebugAddressValue() throws java.rmi.RemoteException ; 81 boolean isDebugSharedMemory() throws java.rmi.RemoteException ; 82 83 ResourceConfiguratorInterface getResourceConfigurator(); 84 85 boolean isSuspended(); 86 91 void refreshDeploymentManager(); 92 93 100 File getPlatformRoot(); 101 102 HashMap getSunDatasourcesFromXml(); 103 104 HashMap getConnPoolsFromXml(); 105 106 107 108 void addPropertyChangeListener(PropertyChangeListener l); 109 110 111 void removePropertyChangeListener(PropertyChangeListener l); 112 113 boolean grabInnerDM(boolean returnInsteadOfWaiting); 114 115 void releaseInnerDM(); 116 } 117 | Popular Tags |