当前位置: 首页>>代码示例>>Java>>正文


Java PackageManagementException类代码示例

本文整理汇总了Java中org.wso2.carbon.bpel.stub.mgt.PackageManagementException的典型用法代码示例。如果您正苦于以下问题:Java PackageManagementException类的具体用法?Java PackageManagementException怎么用?Java PackageManagementException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


PackageManagementException类属于org.wso2.carbon.bpel.stub.mgt包,在下文中一共展示了PackageManagementException类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: undeployBPEL

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
public void undeployBPEL(int page, String packageName)
        throws PackageManagementException, RemoteException, InterruptedException {
    bpelPackageManagementServiceStub.undeployBPELPackage(packageName);
    Thread.sleep(10000);
    DeployedPackagesPaginated deployedPackages = bpelPackageManagementServiceStub.
            listDeployedPackagesPaginated(page, packageName);
    boolean packageUndeployed = true;
    try {
        for (PackageType bpelPackage : deployedPackages.get_package()) {
            if (bpelPackage.getName().equals(packageName)) {
                packageUndeployed = false;
                log.error("Service still exists, Undeployment failed");
            }
        }
    } catch (NullPointerException e) {
        log.info(packageName + " has undeployed successfully");
    }
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:19,代码来源:BpelPackageManagementClient.java

示例2: checkProcessDeployment

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
public boolean checkProcessDeployment(int pageNumber, String packageName)
        throws RemoteException, PackageManagementException {
    boolean packageDeployed = false;
    for (int page = 0; page <= 20; page++) {
        DeployedPackagesPaginated deployedPackages = bpelPackageManagementServiceStub.
                listDeployedPackagesPaginated(pageNumber, packageName);
        packageDeployed = false;
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
        }
        for (PackageType bpelPackage : deployedPackages.get_package()) {
            if (bpelPackage.getName().equals(packageName)) {
                log.info(packageName + " has deployed successfully");
                packageDeployed = true;
            }
        }
        if (packageDeployed) {
            break;
        }
    }
    return packageDeployed;
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:24,代码来源:BpelPackageManagementClient.java

示例3: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestComposeUrl");
    bpelPackageManagementClient.undeployBPEL("FlexibleAssign");
    bpelPackageManagementClient.undeployBPEL("TestIgnoreMissingFromData");
    bpelPackageManagementClient.undeployBPEL("TestCombineUrl");
    bpelPackageManagementClient.undeployBPEL("TestExpandTemplate");
    bpelPackageManagementClient.undeployBPEL("TestAssignActivity1");
    bpelPackageManagementClient.undeployBPEL("TestAssignDate");
    bpelPackageManagementClient.undeployBPEL("TestXslTransform");
    bpelPackageManagementClient.undeployBPEL("TestCounter");
    bpelPackageManagementClient.undeployBPEL("TestSplit");
    bpelPackageManagementClient.undeployBPEL("TestXslTransform");
    bpelPackageManagementClient.undeployBPEL("XMLAttributeProcess");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:19,代码来源:BPELDataHandlingTest.java

示例4: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LoginAuthenticationExceptionException, LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestPickOneWay");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BpelInstanceManagementTest.java

示例5: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("CustomerInfo");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BpelInMemoryDeploymentTest.java

示例6: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("HelloWorld2");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BpelRedeployTest.java

示例7: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestCorrelationUnique");
    bpelPackageManagementClient.undeployBPEL("MyRoleMexTestProcess");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:9,代码来源:BPELMessageRoutingTest.java

示例8: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestAlarm");
    bpelPackageManagementClient.undeployBPEL("DynPartner");
    bpelPackageManagementClient.undeployBPEL("TestForEach");
    bpelPackageManagementClient.undeployBPEL("TestPickOneWay");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:11,代码来源:BPELFunctionalityTest.java

示例9: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestFlowLinks");
    bpelPackageManagementClient.undeployBPEL("TestForEach");
    bpelPackageManagementClient.undeployBPEL("TestPickOneWay");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:10,代码来源:BPELStructuredActivitiesTest.java

示例10: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("Async-Server");
    bpelPackageManagementClient.undeployBPEL("Async-Client");
    bpelPackageManagementClient.undeployBPEL("TestCorrelationWithAttribute");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:10,代码来源:BPELTestCaseMisc.java

示例11: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestIf");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BPELBasicActivitiesTest.java

示例12: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestPubSubInProc");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BPELPubSubTestCase.java

示例13: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestRESTProcess");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BPELRestInvocationTest.java

示例14: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("RPCServiceProcess");
    bpelPackageManagementClient.undeployBPEL("RPCClientProcess");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:9,代码来源:BPELRPCPartnerInvocationTest.java

示例15: removeArtifacts

import org.wso2.carbon.bpel.stub.mgt.PackageManagementException; //导入依赖的package包/类
@AfterClass(alwaysRun = true)
public void removeArtifacts()
        throws PackageManagementException, InterruptedException, RemoteException,
        LogoutAuthenticationExceptionException {
    bpelPackageManagementClient.undeployBPEL("TestProcessProperties");
    this.loginLogoutClient.logout();
}
 
开发者ID:wso2,项目名称:product-ei,代码行数:8,代码来源:BPELExtensionTest.java


注:本文中的org.wso2.carbon.bpel.stub.mgt.PackageManagementException类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。