Examples of CleanupInfo


Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

            for(TSchedule schedule : getSystemSchedulesDocument().getSchedules().getScheduleList()) {
                CronJob job = new CronJob();
                try {
                    job.setCronExpression(new CronExpression(schedule.getWhen()));
                    for(final TCleanup aCleanup : schedule.getCleanupList()) {
                        CleanupInfo cleanupInfo = new CleanupInfo();
                        assert !aCleanup.getFilterList().isEmpty();
                        cleanupInfo.setFilters(aCleanup.getFilterList());
                        ProcessCleanupConfImpl.processACleanup(cleanupInfo.getCategories(), aCleanup.getCategoryList());

                        JobDetails runnableDetails = new JobDetails();

                        runnableDetails.getDetailsExt().put("cleanupInfo", cleanupInfo);
                        runnableDetails.getDetailsExt().put("transactionSize", 10);
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

        RuntimeDataCleanupRunnable runnable = new RuntimeDataCleanupRunnable();

        JobDetails details = new JobDetails();
        details.setProcessId(new QName("test"));
        details.getDetailsExt().put("transactionSize", 10);
        CleanupInfo cleanupInfo = new CleanupInfo();
        cleanupInfo.getFilters().add("a=b");
        cleanupInfo.getCategories().add(CLEANUP_CATEGORY.CORRELATIONS);
        details.getDetailsExt().put("cleanupInfo", cleanupInfo);
        runnable.restoreFromDetails(details);
        runnable.setContexts(contexts);

        NotifyingTerminationListener listener = new NotifyingTerminationListener();
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

        RuntimeDataCleanupRunnable runnable = new RuntimeDataCleanupRunnable();

        JobDetails details = new JobDetails();
        details.setProcessId(new QName("test"));
        details.getDetailsExt().put("transactionSize", 10);
        CleanupInfo cleanupInfo = new CleanupInfo();
        cleanupInfo.getFilters().add("a=b");
        cleanupInfo.getCategories().add(CLEANUP_CATEGORY.CORRELATIONS);
        details.getDetailsExt().put("cleanupInfo", cleanupInfo);
        runnable.restoreFromDetails(details);
        runnable.setContexts(contexts);

        NotifyingTerminationListener listener = new NotifyingTerminationListener();
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

            for(TSchedule schedule : getSystemSchedulesDocument().getSchedules().getScheduleArray()) {
                CronJob job = new CronJob();
                try {
                    job.setCronExpression(new CronExpression(schedule.getWhen()));
                    for(final TCleanup aCleanup : schedule.getCleanupArray()) {
                        CleanupInfo cleanupInfo = new CleanupInfo();
                        assert aCleanup.getFilterArray().length > 0;
                        cleanupInfo.setFilters(Arrays.asList(aCleanup.getFilterArray()));
                        ProcessCleanupConfImpl.processACleanup(cleanupInfo.getCategories(), Arrays.asList(aCleanup.getCategoryArray()));

                        JobDetails runnableDetails = new JobDetails();

                        runnableDetails.getDetailsExt().put("cleanupInfo", cleanupInfo);
                        runnableDetails.getDetailsExt().put("transactionSize", 10);
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

            for(TSchedule schedule : getSystemSchedulesDocument().getSchedules().getScheduleList()) {
                CronJob job = new CronJob();
                try {
                    job.setCronExpression(new CronExpression(schedule.getWhen()));
                    for(final TCleanup aCleanup : schedule.getCleanupList()) {
                        CleanupInfo cleanupInfo = new CleanupInfo();
                        assert !aCleanup.getFilterList().isEmpty();
                        cleanupInfo.setFilters(aCleanup.getFilterList());
                        ProcessCleanupConfImpl.processACleanup(cleanupInfo.getCategories(), aCleanup.getCategoryList());
                       
                        Map<String, Object> runnableDetails = new HashMap<String, Object>();
                        runnableDetails.put("cleanupInfo", cleanupInfo);
                        runnableDetails.put("transactionSize", 10);
                        job.getRunnableDetailList().add(runnableDetails);
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

        RuntimeDataCleanupRunnable runnable = new RuntimeDataCleanupRunnable();
       
        JobDetails details = new JobDetails();
        details.setProcessId(new QName("test"));
        details.getDetailsExt().put("transactionSize", 10);
        CleanupInfo cleanupInfo = new CleanupInfo();
        cleanupInfo.getFilters().add("a=b");
        cleanupInfo.getCategories().add(CLEANUP_CATEGORY.CORRELATIONS);
        details.getDetailsExt().put("cleanupInfo", cleanupInfo);
        runnable.restoreFromDetails(details);
        runnable.setContexts(contexts);
       
        NotifyingTerminationListener listener = new NotifyingTerminationListener();
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

            for(TSchedule schedule : getSystemSchedulesDocument().getSchedules().getScheduleList()) {
                CronJob job = new CronJob();
                try {
                    job.setCronExpression(new CronExpression(schedule.getWhen()));
                    for(final TCleanup aCleanup : schedule.getCleanupList()) {
                        CleanupInfo cleanupInfo = new CleanupInfo();
                        assert !aCleanup.getFilterList().isEmpty();
                        cleanupInfo.setFilters(aCleanup.getFilterList());
                        ProcessCleanupConfImpl.processACleanup(cleanupInfo.getCategories(), aCleanup.getCategoryList());
                       
                        JobDetails runnableDetails = new JobDetails();
                       
                        runnableDetails.getDetailsExt().put("cleanupInfo", cleanupInfo);
                        runnableDetails.getDetailsExt().put("transactionSize", 10);
View Full Code Here

Examples of org.apache.ode.bpel.iapi.ProcessConf.CleanupInfo

        RuntimeDataCleanupRunnable runnable = new RuntimeDataCleanupRunnable();
       
        Map<String, Object> details = new HashMap<String, Object>();
        details.put("pid", new QName("test"));
        details.put("transactionSize", 10);
        CleanupInfo cleanupInfo = new CleanupInfo();
        cleanupInfo.getFilters().add("a=b");
        cleanupInfo.getCategories().add(CLEANUP_CATEGORY.CORRELATIONS);
        details.put("cleanupInfo", cleanupInfo);
        runnable.restoreFromDetailsMap(details);
        runnable.setContexts(contexts);
       
        NotifyingTerminationListener listener = new NotifyingTerminationListener();
View Full Code Here
TOP
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.