|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service provides a consistent way for gaining access to a JNDI InitialContext. This service allows clients to get InitialContexts based solely on configuration, solely on parameters, or a mixture between the two with parameters taking precedence.
Copyright 2003 Sapient
Method Summary | |
InitialContext |
getContext()
Gets a new InitialContext instance with evironment values that come from the service's configuration. |
InitialContext |
getContext(Map environment)
Gets a new InitialContext instance with evironment values that come from the service's configuration, but environment values can also be passed via the environment parameter to augment or override the values stored in configuration. |
InitialContext |
getContextIgnoreConfig(Map environment)
Gets a new InitialContext with environment values given in the evironment parameter. |
InitialDirContext |
getDirContext()
Gets a new InitialDirContext instance with evironment values that come from the service's configuration. |
InitialDirContext |
getDirContext(Map environment)
Gets a new InitialDirContext instance with evironment values that come from the service's configuration, but environment values can also be passed via the environment parameter to augment or override the values stored in configuration. |
InitialDirContext |
getDirContextIgnoreConfig(Map environment)
Gets a new InitialDirContext with environment values given in the evironment parameter. |
Method Detail |
public InitialContext getContext() throws NamingException
NamingException
public InitialContext getContext(Map environment) throws NamingException
environment
- values that augment and/or override the values
stored in configuration
NamingException
public InitialContext getContextIgnoreConfig(Map environment) throws NamingException
environment
- values used to construct the InitialContext
NamingException
public InitialDirContext getDirContext() throws NamingException
NamingException
public InitialDirContext getDirContext(Map environment) throws NamingException
environment
- values that augment and/or override the values
stored in configuration
NamingException
public InitialDirContext getDirContextIgnoreConfig(Map environment) throws NamingException
environment
- values used to construct the InitialContext
NamingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |