|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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
A seam component that boostraps a JBPM SessionFactory
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 |
---|
public Jbpm()
Method Detail |
---|
@Create public void startup() throws Exception
Exception
@Destroy public void shutdown()
public org.jbpm.JbpmConfiguration getJbpmConfiguration()
public org.jbpm.graph.def.ProcessDefinition getPageflowProcessDefinition(String pageflowName)
public org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromResource(String resourceName)
public org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromResource(String resourceName)
public String[] getPageflowDefinitions()
public void setPageflowDefinitions(String[] pageflowDefinitions)
public String[] getProcessDefinitions()
public void setProcessDefinitions(String[] processDefinitions)
public boolean deployPageflowDefinition(org.jbpm.graph.def.ProcessDefinition pageflowDefinition)
public org.jbpm.graph.def.ProcessDefinition getPageflowDefinitionFromXml(String pageflowDefinition)
pageflowDefinition
- the pageflow as an XML stringpublic org.jbpm.graph.def.ProcessDefinition getProcessDefinitionFromXml(String processDefinition)
processDefinition
- the process as an XML stringpublic boolean undeployPageflowDefinition(String pageflowName)
pageflowName
- Name of the pageflow to remove
public static Jbpm instance()
protected String getJbpmConfigurationJndiName()
protected void setJbpmConfigurationJndiName(String jbpmConfigurationJndiName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |