站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Jbpm (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.core
Class Jbpm

java.lang.Object
  extended by org.jboss.seam.core.Jbpm

@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Startup(depends={"org.jboss.seam.core.microcontainer","org.jboss.seam.core.ejb"})
@Name(value="org.jboss.seam.core.jbpm")
@Install(value=false,
         precedence=0)
public class Jbpm
extends Object

A seam component that boostraps a JBPM SessionFactory

Author:
Gavin King, Steve Ebersole, Norman Richards, Thomas Heute

Constructor Summary
Jbpm()
           
 
Method Summary
 boolean deployPageflowDefinition(org.jbpm.graph.def.ProcessDefinition pageflowDefinition)
          Dynamically deploy a page flow definition, if a pageflow with an identical name already exists, the pageflow is updated.
 org.jbpm.JbpmConfiguration getJbpmConfiguration()
           
protected  String getJbpmConfigurationJndiName()
           
 org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromResource(String resourceName)
           
 org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromXml(String pageflowDefinition)
          Read a pageflow definition
 String[] getPageflowDefinitions()
           
 org.jbpm.graph.def.ProcessDefinition getPageflowProcessDefinition(String pageflowName)
           
 org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromResource(String resourceName)
           
 org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromXml(String processDefinition)
          Read a process definition
 String[] getProcessDefinitions()
           
static Jbpm instance()
           
protected  void setJbpmConfigurationJndiName(String jbpmConfigurationJndiName)
           
 void setPageflowDefinitions(String[] pageflowDefinitions)
           
 void setProcessDefinitions(String[] processDefinitions)
           
 void shutdown()
           
 void startup()
           
 boolean undeployPageflowDefinition(String pageflowName)
          Remove a pageflow definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbpm

public Jbpm()
Method Detail

startup

@Create
public void startup()
             throws Exception
Throws:
Exception

shutdown

@Destroy
public void shutdown()

getJbpmConfiguration

public org.jbpm.JbpmConfiguration getJbpmConfiguration()

getPageflowProcessDefinition

public org.jbpm.graph.def.ProcessDefinition getPageflowProcessDefinition(String pageflowName)

getPageflowDefinitionFromResource

public org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromResource(String resourceName)

getProcessDefinitionFromResource

public org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromResource(String resourceName)

getPageflowDefinitions

public String[] getPageflowDefinitions()

setPageflowDefinitions

public void setPageflowDefinitions(String[] pageflowDefinitions)

getProcessDefinitions

public String[] getProcessDefinitions()

setProcessDefinitions

public void setProcessDefinitions(String[] processDefinitions)

deployPageflowDefinition

public boolean deployPageflowDefinition(org.jbpm.graph.def.ProcessDefinition pageflowDefinition)
Dynamically deploy a page flow definition, if a pageflow with an identical name already exists, the pageflow is updated.

Returns:
true if the pageflow definition has been updated

getPageflowDefinitionFromXml

public org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromXml(String pageflowDefinition)
Read a pageflow definition

Parameters:
pageflowDefinition - the pageflow as an XML string

getProcessDefinitionFromXml

public org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromXml(String processDefinition)
Read a process definition

Parameters:
processDefinition - the process as an XML string

undeployPageflowDefinition

public boolean undeployPageflowDefinition(String pageflowName)
Remove a pageflow definition

Parameters:
pageflowName - Name of the pageflow to remove
Returns:
true if the pageflow definition has been removed

instance

public static Jbpm instance()

getJbpmConfigurationJndiName

protected String getJbpmConfigurationJndiName()

setJbpmConfigurationJndiName

protected void setJbpmConfigurationJndiName(String jbpmConfigurationJndiName)