
org.ow2.bonita.facade.internal.InternalManagementAPI Maven / Gradle / Ivy
package org.ow2.bonita.facade.internal;
import java.net.URL;
import java.rmi.RemoteException;
import java.util.Collection;
import java.util.Map;
import org.ow2.bonita.facade.def.element.BusinessArchive;
import org.ow2.bonita.facade.def.majorElement.ProcessDefinition;
import org.ow2.bonita.facade.exception.DeploymentException;
import org.ow2.bonita.facade.exception.PackageNotFoundException;
import org.ow2.bonita.facade.exception.UndeletableInstanceException;
import org.ow2.bonita.facade.exception.UndeletablePackageException;
import org.ow2.bonita.facade.uuid.PackageDefinitionUUID;
/**
* For internal use only.
*/
public interface InternalManagementAPI {
Map deploy(final BusinessArchive businessARchive) throws DeploymentException, RemoteException;
Map deployBar(final URL barFileURL) throws DeploymentException, RemoteException;
Map deployBar(final byte[] barFile) throws DeploymentException, RemoteException;
void deployClass(byte[] clazz) throws DeploymentException, RemoteException;
void deployClasses(Collection classes) throws DeploymentException, RemoteException;
void deployClassesInJar(byte[] classesArchive) throws DeploymentException, RemoteException;
void undeploy(final PackageDefinitionUUID packageUUID) throws DeploymentException, RemoteException;
void removeClass(String className) throws DeploymentException, RemoteException;
void removeClasses(String[] classNames) throws DeploymentException, RemoteException;
void replaceClass(String className, byte[] newClazz) throws DeploymentException, RemoteException;
Map deployXpdl(final URL xpdlURL) throws DeploymentException, RemoteException;
Map deployXpdl(final byte[] xpdlFile) throws DeploymentException, RemoteException;
Map deploy(final URL xpdlURL,
final Class< ? >[] classes) throws DeploymentException, RemoteException;
Map deployZip(final URL zipURL) throws DeploymentException, RemoteException;
Map deployZip(final byte[] zipFile) throws DeploymentException, RemoteException;
void deletePackage(PackageDefinitionUUID pacDefinitionUUID) throws PackageNotFoundException,
UndeletablePackageException, UndeletableInstanceException, RemoteException;
void deleteAllPackages() throws UndeletablePackageException, UndeletableInstanceException, RemoteException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy