| org.sape.carbon.services.jndi.InitialContextFactory
All known Subclasses: org.sape.carbon.services.jndi.DefaultInitialContextFactoryImpl,
InitialContextFactory | public interface InitialContextFactory extends FunctionalInterface(Code) | | 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.
See Also: javax.naming.InitialContext See Also: Copyright 2003 Sapient since: carbon 2.1 author: Douglas Voet, Jul 30, 2003 version: $Revision: 1.2 $($Author: dvoet $ / $Date: 2003/10/30 19:28:56 $) |
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. |
getContext | InitialContext getContext(Map environment) throws NamingException(Code) | | 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.
Parameters: environment - values that augment and/or override the valuesstored in configuration a new InitialContext throws: NamingException - |
getContextIgnoreConfig | InitialContext getContextIgnoreConfig(Map environment) throws NamingException(Code) | | Gets a new InitialContext with environment values given in the
evironment parameter. The service's configuration is ignored.
Parameters: environment - values used to construct the InitialContext a new InitialContext throws: NamingException - |
getDirContext | InitialDirContext getDirContext(Map environment) throws NamingException(Code) | | 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.
Parameters: environment - values that augment and/or override the valuesstored in configuration a new InitialDirContext throws: NamingException - |
getDirContextIgnoreConfig | InitialDirContext getDirContextIgnoreConfig(Map environment) throws NamingException(Code) | | Gets a new InitialDirContext with environment values given in the
evironment parameter. The service's configuration is ignored.
Parameters: environment - values used to construct the InitialContext a new InitialDirContext throws: NamingException - |
|
|