Package de.danet.an.workflow.api

Examples of de.danet.an.workflow.api.ProcessDirectory


     *
     * @param process a <code>SmartWfProcess</code> value
     * @exception Exception if an error occurs
     */
    protected void removeProcess(SmartWfProcess process) throws Exception {
  ProcessDirectory pd = workflowService().processDirectory();
  pd.removeProcess((Process)process.getWfProcess());
    }
View Full Code Here


     * @ejb.transaction type="Supports"
     */
    public ProcessDirectory processDirectory () {
        RequestScope scope = RequestLog.enterScope
            (this, "processDirectory", new Object[] {});
        ProcessDirectory res = null;
  try {
      res = processDirectoryHome().create();
  } catch (CreateException ce) {
      throw new EJBException (ce);
  } catch (RemoteException re) {
View Full Code Here

     * @param event the event.
     * @throws RemoteException if a system-level error occurs.
     */
    private void publishEvent (WfAuditEvent event)
  throws RemoteException {
  ProcessDirectory procDir = null;
  TopicConnection evtSvcCon = null;
  TopicSession evtSvcSession = null;
  try {
      evtSvcCon = topConFac.createTopicConnection();
      evtSvcSession = evtSvcCon.createTopicSession (true, 0);
View Full Code Here

            WorkflowServiceFactory wsf = WorkflowServiceFactory.newInstance();
            workflowService = wsf.newWorkflowService();
       
            ProcessDefinitionDirectory procDefDir
                = workflowService.processDefinitionDirectory();
            ProcessDirectory procDir = workflowService.processDirectory();
            ProcessMgr pmgr = procDefDir.processMgr
                ("chabacc", "chabacc_test_sender");
            WfProcess process
                = pmgr.createProcess(new DefaultRequester (workflowService));
            chan = workflowService.getChannel(process, "test_channel");
View Full Code Here

            WorkflowServiceFactory wsf = WorkflowServiceFactory.newInstance();
            workflowService = wsf.newWorkflowService();
       
            ProcessDefinitionDirectory procDefDir
                = workflowService.processDefinitionDirectory();
            ProcessDirectory procDir = workflowService.processDirectory();
            ProcessMgr pmgr = procDefDir.processMgr
                ("chabacc", "chabacc_test_sender");
            WfProcess process
                = pmgr.createProcess(new DefaultRequester (workflowService));
            chan = workflowService.getChannel(process, "test_channel");
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.api.ProcessDirectory

Copyright © 2018 www.massapicom. 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.