com.opensymphony.workflow.spi.ejb
Class WorkflowStoreHomeFactory

java.lang.Object
  extended by com.opensymphony.workflow.spi.ejb.WorkflowStoreHomeFactory

public class WorkflowStoreHomeFactory
extends Object

Utility class for WorkflowStore.

Version:
$Revision: 1.3 $ Date: Apr 7, 2003 Time: 10:57:28 PM
Author:
Hani Suleiman

Field Summary
static String COMP_NAME
           
static String JNDI_NAME
           
 
Constructor Summary
WorkflowStoreHomeFactory()
           
 
Method Summary
static WorkflowStoreHome getHome()
          Obtain remote home interface from default initial context
static WorkflowStoreHome 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

WorkflowStoreHomeFactory

public WorkflowStoreHomeFactory()
Method Detail

getHome

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

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

getHome

public static WorkflowStoreHome 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 WorkflowStore. Lookup using COMP_NAME
Throws:
NamingException

OpenSymphony Workflow Project Page