public static synchronized ProcessCompound deployProcessCompound()
public static synchronized ProcessCompound deployProcessCompound(boolean addShutdownHook)
    public static synchronized ProcessCompound deployProcessCompound()        throws SmartFrogException,RemoteException {        if (processCompound != null) {            return processCompound;        }        new InterruptHandler().bind("INT");        ComponentDescription descr =              (ComponentDescription) getProcessCompoundDescription().copy();        try {            // A process compound sets processcompound in SFProcess at the end of its            // sfStart lifecycle method! Setting it twice will result in a exception!            startComponent(deployComponent(descr));        } catch (Exception e) {            throw SmartFrogDeploymentException.forward(e);        }        // This call and method will disapear once we refactor ProcessCompound        // addDefaultProcessDescriptions will replace all this code.        // @TODO fix after refactoring ProcessCompound.        //deployDefaultProcessDescriptions((ProcessCompound)processCompound);        return processCompound;    }