1 23 24 package com.sun.enterprise.admin.servermgmt; 25 26 import java.util.Map ; 27 28 30 public interface InstancesManager 31 { 32 39 public void createInstance() 40 throws InstanceException; 41 42 49 public void deleteInstance() 50 throws InstanceException; 51 52 57 public Process startInstance() 58 throws InstanceException; 59 60 66 public Process startInstance(String [] interativeOptions) 67 throws InstanceException; 68 69 77 public Process startInstance(String [] interativeOptions, String [] commandLineArgs) 78 throws InstanceException; 79 80 84 public void stopInstance() 85 throws InstanceException; 86 87 90 public String [] listInstances() 91 throws InstanceException; 92 93 96 public int getInstanceStatus() 97 throws InstanceException; 98 99 103 boolean isRestartNeeded() throws InstanceException; 104 } 105 | Popular Tags |