Package com.opensymphony.workflow.config

Examples of com.opensymphony.workflow.config.DefaultConfiguration


     * @return the unique workflow id
     */
    private long createWorkflow() throws InvalidRoleException,
            InvalidInputException, WorkflowException {
        this.osWorkflowInstance = new BasicWorkflow(this.caller);
        DefaultConfiguration config = new DefaultConfiguration();
        this.osWorkflowInstance.setConfiguration(config);
        long wfId = this.osWorkflowInstance.initialize(
                this.osWorkflowName, this.action, this.map);
        return wfId;
    }
View Full Code Here


      hibernateSessionFactory = sessionFactory;
   
    workflow = new InfoGlueBasicWorkflow(owner.getIdentifier());
    if(session != null)
    {
      com.opensymphony.workflow.config.Configuration config = new /*InfoGlueHibernate*/DefaultConfiguration();
      config.getPersistenceArgs().put("session", session);
      config.getPersistenceArgs().put("sessionFactory", hibernateSessionFactory);
      workflow.setConfiguration(config);
    }
    else
    {
      workflow.getConfiguration().getPersistenceArgs().put("sessionFactory", hibernateSessionFactory);
View Full Code Here

TOP

Related Classes of com.opensymphony.workflow.config.DefaultConfiguration

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.