com.opensymphony.workflow.ejb
Class WorkflowHomeFactory

java.lang.Object
  extended by com.opensymphony.workflow.ejb.WorkflowHomeFactory

public class WorkflowHomeFactory
extends Object

Utility class for Workflow.

Version:
$Revision: 1.7 $
Author:
Pat Lightbody, Hani Suleiman

Field Summary
static String COMP_NAME
           
static String JNDI_NAME
           
 
Constructor Summary
WorkflowHomeFactory()
           
 
Method Summary
static WorkflowHome getHome()
          Obtain remote home interface from default initial context
static WorkflowHome getHome(Hashtable environment)
          Obtain remote home interface from parameterised initial context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMP_NAME

public static final String COMP_NAME
See Also:
Constant Field Values

JNDI_NAME

public static final String JNDI_NAME
See Also:
Constant Field Values
Constructor Detail

WorkflowHomeFactory

public WorkflowHomeFactory()
Method Detail

getHome

public static WorkflowHome getHome()
                            throws NamingException
Obtain remote home interface from default initial context

Returns:
Home interface for Workflow. Lookup using COMP_NAME
Throws:
NamingException

getHome

public static WorkflowHome getHome(Hashtable environment)
                            throws NamingException
Obtain remote home interface from parameterised initial context

Parameters:
environment - Parameters to use for creating initial context
Returns:
Home interface for Workflow. Lookup using COMP_NAME
Throws:
NamingException

OpenSymphony Workflow Project Page