Examples of TomcatInstance


Examples of com.waxayaz.TomcatMI.core.domains.TomcatInstance

      public void mouseDown(MouseEvent e) {}
     
      @Override
      public void mouseDoubleClick(MouseEvent e) {
        String instanceName = tree.getSelection()[0].getText();
        TomcatInstance i = TomcatInstancesManager.getInstanceForName(instanceName);
        if(i != null) {
          tabPane.addInstanceTab(i);
        }
      }
    });
View Full Code Here

Examples of com.waxayaz.TomcatMI.core.domains.TomcatInstance

  }
 
  public static TomcatInstance getInstanceForName(String name) {
   
    String path = tomcatInstances+File.separator+name+File.separator+name+".instance";
    TomcatInstance instance = null;
   
    FileInputStream fis = null;
    ObjectInputStream in = null;
    try {
      fis = new FileInputStream(path);
View Full Code Here

Examples of com.waxayaz.TomcatMI.core.domains.TomcatInstance

    return instances;
  }
 
 
  public static TomcatInstance createInstance(String name) {
    return new TomcatInstance(name);
  }
View Full Code Here

Examples of com.waxayaz.TomcatMI.core.domains.TomcatInstance

  public static TomcatInstance createInstance(String name) {
    return new TomcatInstance(name);
  }
 
  public static TomcatInstance createInstance(String name, String tomcatVersion) {
    return new TomcatInstance(name, tomcatVersion);
  }
View Full Code Here

Examples of com.waxayaz.TomcatMI.core.domains.TomcatInstance

  public static TomcatInstance createInstance(String name, String tomcatVersion) {
    return new TomcatInstance(name, tomcatVersion);
  }
 
  public static void deleteInstance(String name) {
    TomcatInstance i = getInstanceForName(name);
    if(i != null) {
      i.delete();
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.