appPath
org.apache.openejb.Container.undeploy()
org.apache.openejb.assembler.Deployer.undeploy()
org.apache.openejb.assembler.DeployerEjb.undeploy()
org.apache.openejb.server.cxf.rs.CxfRSService.undeploy()
org.apache.openejb.server.hessian.HessianRegistry.undeploy()
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.undeploy()
org.apache.tomee.embedded.Container.undeploy()
org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.undeploy()
org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.undeploy()
org.apache.uima.collection.impl.base_cpm.container.deployer.CasProcessorDeployer.undeploy()
@throws CasProcessorDeploymentException
org.camunda.bpm.application.ProcessApplicationInterface.undeploy()
Undeploy this process application from the runtime container.
If your application needs to be notified of the undeployment, add a {@literal @}{@link PreUndeploy} method to your subclass.
org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.undeploy()
Undeploy may be called several times, but only the call that decreases factoryCount to 0 disconnects the session and removes it from the session manager. This method and predeploy - the only methods altering factoryCount - should be synchronized. After undeploy call that turns factoryCount to 0: session==null; PREDEPLOYED, DEPLOYED and DEPLOYED_FAILED states change to UNDEPLOYED state.
org.exist.repo.Deployment.undeploy()
org.glassfish.embeddable.Deployer.undeploy()
Undeploys an application from {@link GlassFish}This method takes a var-arg argument for the undeployment options. Any option that's applicable to "asadmin undeploy" command is also applicable here with same semantics. Please refer to GlassFish deployment guide for all available options.
Example:
deployer.undeploy("foo", "--drop-tables", "true");
@param appName Identifier of the application to be undeployed.
@param params Undeployment options.
org.glassfish.internal.deployment.Deployment.undeploy()
org.glassfish.webservices.deployment.WebServicesDeploymentMBean.undeploy()
org.hornetq.core.deployers.Deployer.undeploy()
Undeploys a resource that has been removed
@param uri The Resource that was deleted
@throws Exception
org.hornetq.integration.bootstrap.HornetQBootstrapServer.undeploy()
Undeploy a deployment
@param deployment the deployment
org.jboss.aop.advice.AspectDefinition.undeploy()
Undeploys the aspect definition from its domain.
org.jboss.arquillian.spi.DeployableContainer.undeploy()
org.jboss.as.controller.client.helpers.domain.DeploymentPlanBuilder.undeploy()
Indicates the specified deployment content should be undeployed.
@param deploymentName unique identifier of the deployment content
@return a builder that can continue building the overall deployment plan
org.jboss.as.controller.client.helpers.standalone.DeploymentPlanBuilder.undeploy()
Indicates the specified deployment content should be undeployed.
@param deploymentName unique identifier of the deployment content
@return a builder that can continue building the overall deployment plan
org.jboss.as.controller.client.helpers.standalone.InitialDeploymentPlanBuilder.undeploy()
org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.undeploy()
org.jboss.as.demos.DeploymentUtils.undeploy()
org.jboss.as.demos.DomainDeploymentUtils.undeploy()
org.jboss.as.standalone.client.api.deployment.DeploymentPlanBuilder.undeploy()
Indicates the specified deployment content should be undeployed.
@param deploymentName unique identifier of the deployment content
@return a builder that can continue building the overall deployment plan
org.jboss.deployers.client.spi.DeployerClient.undeploy()
Undeploy the deployments
@param deployments the deployments
@throws DeploymentException for any error
org.jboss.deployers.spi.deployer.Deployer.undeploy()
Undeploy an deployment
@param unit the unit
org.jboss.deployers.vfs.plugins.annotations.ScanningMetaDataDeployer.undeploy()
org.jboss.ejb3.deployers.EJBsDeployer.undeploy()
org.jboss.ejb3.embedded.api.shrinkwrap.ShrinkWrapEJBContainer.undeploy()
Undeploys the specified {@link Archive}s from the container.
@param archives
@throws EJBDeploymentException If an error occurred in deployment
@throws IllegalArgumentException If archives is null
org.jboss.ejb3.embedded.impl.shrinkwrap.ShrinkWrapEJBContainerImpl.undeploy()
{@inheritDoc}
@see org.jboss.ejb3.embedded.api.shrinkwrap.ShrinkWrapEJBContainer#undeploy(org.jboss.shrinkwrap.api.Archive>[])
org.jboss.embedded.DeploymentGroup.undeploy()
Ask the mainDeployer to undeploy the set of files in the group
@throws org.jboss.deployers.spi.DeploymentException
org.jboss.jbossas.servermanager.Server.undeploy()
Undeploy a package with the main deployer. The supplied name is interpreted as a url, or as a filename in jbosstest.deploy.lib or output/lib.
@param name filename/url of package to undeploy.
@exception Exception Description of Exception
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeploy()
Undeploy a deployment
@param deployment the deployment
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.undeploy()
org.jboss.on.plugins.tomcat.helper.TomcatApplicationDeployer.undeploy()
org.jboss.test.JBossTestClusteredServices.undeploy()
Undeploy a package from the given server with the main deployer. The supplied name is interpreted as a url, or as a filename in jbosstest.deploy.lib or ../lib.
@param server server on which the package should be deployed
@param name filename/url of package to undeploy.
@exception Exception Description of Exception
org.jboss.test.deployers.vfs.deployer.validate.support.StructureOMFDeployer.undeploy()
org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.undeploy()
org.jboss.wsf.spi.deployer.Deployer.undeploy()
org.jboss.wsf.spi.deployment.DeploymentAspectManager.undeploy()
Undeploy a web service
org.jbpm.services.api.DeploymentService.undeploy()
org.jclouds.abiquo.domain.cloud.VirtualMachine.undeploy()
org.jclouds.vcloud.director.v1_5.features.VAppApi.undeploy()
Undeploy a {@link VApp}. Undeployment means deallocation of all resources for a vApp/VM like CPU and memory from a vDC resource pool. Undeploying a vApp automatically undeploys all of the virtual machines it contains.
POST /vApp/{id}/action/undeploy
@since 0.9
org.jdesktop.wonderland.modules.spi.ModuleDeployerSPI.undeploy()
Undeploys the module part. Deployers that return true for isUndeployable() should not fail in this method.
@param type The module part type
@param module The module associated with the module part
@param part The module part to undeploy
org.knopflerfish.axis.ObjectSOAPService.undeploy()
org.modeshape.jcr.ModeShapeEngine.undeploy()
Stop and undeploy the named {@link Repository}.
@param repositoryName the name of the deployed repository
@return a future that allows the caller to block until the repository is shutdown; if the repository could not shutdown,{@link Future#get() getting} the repository from the future will throw the exception wrapped in a{@link ExecutionException}
@throws IllegalArgumentException if the repository name is null, blank or invalid
@throws NoSuchRepositoryException if there is no repository with the specified name
@throws IllegalStateException if this engine was not {@link #start() started}
org.mule.registry.Assembly.undeploy()
org.rioproject.deploy.DeployAdmin.undeploy()
Undeploy an OperationalString deployed by the ProvisionMonitor. The ProvisionMonitor will search as follows:
- First for the OperationalString by it's name, and if found, remove the OperationalString and any nested OperationalStrings that are included by the OperatinalString.
- If the name is not found, the ProvisionMonitor will search for the matching OAR, by looking at directory names under the configured installDir property. If a matching directory name is found, the corresponding OAR file will be loaded, loading the configured OperationalString, and undeploying as indicated in step 1.
As a result of undeploying the OperationalString(s), all services that have a provision type of {@link org.rioproject.opstring.ServiceElement.ProvisionType#DYNAMIC} or{@link org.rioproject.opstring.ServiceElement.ProvisionType#FIXED}will be terminated. If any deployment request or redeployment requests are pending for the OperationalString(s) being undeployed, these requests will be cancelled
@param name The name of the OperationalString or directory toundeploy
@return Returns true if the OperationalString has been undeployed
@throws OperationalStringException If the OperationalString does notexist
@throws RemoteException If communication errors occur
org.springframework.osgi.web.deployer.WarDeployment.undeploy()
Undeploys the current deployment. If the deployment has been already undeployed, this method simply returns.
@throws OsgiWarDeploymentException if something went wrong duringundeployment
org.wso2.carbon.bpel.ode.integration.store.TenantProcessStoreImpl.undeploy()
Undeploying BPEL package.
@param bpelPackageName Name of the BPEL package which going to be undeployed
org.wso2.carbon.server.WebApplication.undeploy()
Completely delete & destroy this Web application. When a request is made to an undeployed webapp resource, an HTTP 404 (Not Found) will be returned.
@throws CarbonException If an error occurs while undeploying this webapp
uk.co.brunella.osgi.bdt.repository.Deployer.undeploy()
|
System.out.println("Calling TestMBean.decorateWithServiceLoader(\"Hello\") on server");
String s = (String)mbeanServer.invoke(objectName, "decorateWithServiceLoader", new Object[] {"Hello"}, new String[] {"java.lang.String"});
System.out.println("Received reply: " + s);
} finally {
utils.undeploy();
safeClose(utils);
}
}
}
|
| List<String> msgs = (List<String>)mbeanServer.invoke(objectName, "readMessages", new Object[] {}, new String[] {});
System.out.println("Received messages: " + msgs);
ok = true;
} finally {
try {
utils.undeploy();
safeClose(utils);
}
catch (Exception e) {
if (ok)
throw e;
|
| String msg = bean.echo("Hello world");
System.out.println(msg);
doStatefulMagic(mbeanServer);
} finally {
utils.undeploy();
safeClose(utils);
}
}
private static void showInfo() {
|
| System.out.println("Calling TestMBean.helloWorld(\"AS7\") on server two");
s = (String) mbeanServer.invoke(objectName, "helloWorld", new Object[] { "AS7" },
new String[] { "java.lang.String" });
System.out.println("Received reply: " + s);
} finally {
utils.undeploy();
safeClose(utils);
}
}
}
|
| }
return continuePrompt();
} finally {
if(deployed && utils != null) {
utils.undeploy();
}
}
}
|
| Thread.sleep(1000);
@SuppressWarnings("unchecked")
List<String> moreMsgs = (List<String>)mbeanServer.invoke(objectName, "readMessages", new Object[] {"Test"}, new String[] {"java.lang.String"});
System.out.println("Received messages: " + moreMsgs);
} finally {
utils.undeploy();
safeClose(utils);
}
}
}
|
| }
parent = parent.getCause();
}
e.printStackTrace();
} finally {
utils.undeploy();
safeClose(utils);
}
}
private static void usage(Throwable t) throws Exception {
|
| // deployed that we didn't find on the scan
Set<String> toRemove = new HashSet<String>(deployed);
toRemove.removeAll(foundDeployed.keySet());
toRemove.removeAll(newlyAdded); // in case user removed the marker and added replacement
for (String missing : toRemove) {
builder = builder.undeploy(missing).andRemoveUndeployed();
}
// Throw away any found marker files that we didn't already know about
Set<String> validFinds = cleanSpuriousMarkerFiles(foundDeployed);
validFinds.addAll(newlyAdded);
|
| assertEquals(singleton, all.getDeployedUnits());
assertEquals(singleton, empty.getDeployedUnits());
}
finally
{
main.undeploy(deployment);
}
assertEmpty(missing.getUndeployedUnits());
assertEquals(singleton, all.getUndeployedUnits());
assertEquals(singleton, empty.getUndeployedUnits());
|
| StructureMetaData metaData = unit.getAttachment(StructureMetaData.class);
assertNotNull(metaData);
}
finally
{
deployer.undeploy(unit);
}
}
public void testComparator() throws Exception
{
|
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.