1 31 package org.objectweb.proactive.core.descriptor.data; 32 33 import org.objectweb.proactive.core.ProActiveException; 34 import org.objectweb.proactive.core.process.ExternalProcess; 35 import org.objectweb.proactive.core.process.ExternalProcessDecorator; 36 import org.objectweb.proactive.ext.security.PolicyServer; 37 38 51 public interface ProActiveDescriptor extends java.io.Serializable { 52 53 54 58 public VirtualNode[] getVirtualNodes(); 59 60 65 public VirtualNode getVirtualNode(String name); 66 67 68 73 public VirtualMachine getVirtualMachine(String name); 74 75 76 81 public ExternalProcess getProcess(String name); 82 83 84 93 public VirtualNode createVirtualNode(String vnName, boolean lookup); 94 95 96 101 public VirtualMachine createVirtualMachine(String vmName); 102 103 104 111 public ExternalProcess createProcess(String processID, String processClassName) throws ProActiveException; 112 113 114 120 public ExternalProcess createProcess(String processClassName) throws ProActiveException; 121 122 123 128 public void registerProcess(VirtualMachine virtualMachine, String processID); 129 130 131 136 public void registerProcess(ExternalProcessDecorator compositeProcess, String processID); 137 138 139 142 public void activateMappings(); 143 144 145 149 public void activateMapping(String virtualNodeName); 150 151 152 160 public void killall(boolean softly) throws ProActiveException; 161 162 163 164 177 181 public int getVirtualNodeMappingSize(); 182 183 188 public void createPolicyServer(String file); 189 190 public PolicyServer getPolicyServer(); 191 public String getSecurityFilePath(); 192 193 } 194 | Popular Tags |