com.opensymphony.module.propertyset.ejb
Class PropertyStoreHomeFactory

java.lang.Object
  extended bycom.opensymphony.module.propertyset.ejb.PropertyStoreHomeFactory

public class PropertyStoreHomeFactory
extends java.lang.Object

Utility class for PropertyStore.

Version:
$Revision: 1.3 $
Author:
Joe Walnes, Hani Suleiman
See Also:
PropertyStore, PropertyStoreHome

Field Summary
static java.lang.String COMP_NAME
           
static java.lang.String JNDI_NAME
           
 
Constructor Summary
PropertyStoreHomeFactory()
           
 
Method Summary
static PropertyStoreHome getHome()
          Obtain remote home interface from default initial context
static PropertyStoreHome getHome(java.util.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 java.lang.String COMP_NAME
See Also:
Constant Field Values

JNDI_NAME

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

PropertyStoreHomeFactory

public PropertyStoreHomeFactory()
Method Detail

getHome

public static PropertyStoreHome getHome()
                                 throws javax.naming.NamingException
Obtain remote home interface from default initial context

Returns:
Home interface for PropertyStore. Lookup using COMP_NAME
Throws:
javax.naming.NamingException

getHome

public static PropertyStoreHome getHome(java.util.Hashtable environment)
                                 throws javax.naming.NamingException
Obtain remote home interface from parameterised initial context

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

See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony