com.bankframe.ejb
Class EJBEnvironmentProperties
java.lang.Object
com.bankframe.ejb.EJBEnvironmentProperties
public class EJBEnvironmentProperties
- extends Object
This class is a utility class for reading environment variables from an
EJB's deployment descriptor. Hides the different ways of doing this in
EJB1.0 and EJB1.1.
Method Summary |
static Object |
get(String key,
EJBContext ctx)
This method gets an environment property from an EJB's deployment descriptor. |
EJB_COMPLIANCE
public static final String EJB_COMPLIANCE
- See Also:
- Constant Field Values
get
public static Object get(String key,
EJBContext ctx)
- This method gets an environment property from an EJB's deployment descriptor.
- Parameters:
key
- the name of the property to retrievectx
- the EJB context
- Returns:
- the requested property, or null on error
Copyright © 2005, 2007, Oracle. All rights reserved.