org.seasar.junitcdi.core.internal
クラス JndiContext

java.lang.Object
  上位を拡張 org.seasar.junitcdi.core.internal.JndiContext
すべての実装されたインタフェース:
Context

public class JndiContext
extends Object
implements Context

JNDI Contextの単純な実装です.

作成者:
koichik

フィールドの概要
protected  ConcurrentHashMap<String,Object> map
          名前にバインドされたオブジェクトのマップ
 
インタフェース javax.naming.Context から継承されたフィールド
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
 
コンストラクタの概要
JndiContext()
           
 
メソッドの概要
 Object addToEnvironment(String propName, Object propVal)
           
 void bind(Name name, Object obj)
           
 void bind(String name, Object obj)
           
 void close()
           
 Name composeName(Name name, Name prefix)
           
 String composeName(String name, String prefix)
           
 Context createSubcontext(Name name)
           
 Context createSubcontext(String name)
           
 void destroySubcontext(Name name)
           
 void destroySubcontext(String name)
           
 Hashtable<?,?> getEnvironment()
           
 String getNameInNamespace()
           
 NameParser getNameParser(Name name)
           
 NameParser getNameParser(String name)
           
 NamingEnumeration<NameClassPair> list(Name name)
           
 NamingEnumeration<NameClassPair> list(String name)
           
 NamingEnumeration<Binding> listBindings(Name name)
           
 NamingEnumeration<Binding> listBindings(String name)
           
 Object lookup(Name name)
           
 Object lookup(String name)
           
 Object lookupLink(Name name)
           
 Object lookupLink(String name)
           
 void rebind(Name name, Object obj)
           
 void rebind(String name, Object obj)
           
 Object removeFromEnvironment(String propName)
           
 void rename(Name oldName, Name newName)
           
 void rename(String oldName, String newName)
           
 void unbind(Name name)
           
 void unbind(String name)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

map

protected final ConcurrentHashMap<String,Object> map
名前にバインドされたオブジェクトのマップ

コンストラクタの詳細

JndiContext

public JndiContext()
メソッドの詳細

lookup

public Object lookup(Name name)
              throws NamingException
定義:
インタフェース Context 内の lookup
例外:
NamingException

lookup

public Object lookup(String name)
              throws NamingException
定義:
インタフェース Context 内の lookup
例外:
NamingException

bind

public void bind(Name name,
                 Object obj)
          throws NamingException
定義:
インタフェース Context 内の bind
例外:
NamingException

bind

public void bind(String name,
                 Object obj)
          throws NamingException
定義:
インタフェース Context 内の bind
例外:
NamingException

rebind

public void rebind(Name name,
                   Object obj)
            throws NamingException
定義:
インタフェース Context 内の rebind
例外:
NamingException

rebind

public void rebind(String name,
                   Object obj)
            throws NamingException
定義:
インタフェース Context 内の rebind
例外:
NamingException

unbind

public void unbind(Name name)
            throws NamingException
定義:
インタフェース Context 内の unbind
例外:
NamingException

unbind

public void unbind(String name)
            throws NamingException
定義:
インタフェース Context 内の unbind
例外:
NamingException

rename

public void rename(Name oldName,
                   Name newName)
            throws NamingException
定義:
インタフェース Context 内の rename
例外:
NamingException

rename

public void rename(String oldName,
                   String newName)
            throws NamingException
定義:
インタフェース Context 内の rename
例外:
NamingException

close

public void close()
           throws NamingException
定義:
インタフェース Context 内の close
例外:
NamingException

list

public NamingEnumeration<NameClassPair> list(Name name)
                                      throws NamingException
定義:
インタフェース Context 内の list
例外:
NamingException

list

public NamingEnumeration<NameClassPair> list(String name)
                                      throws NamingException
定義:
インタフェース Context 内の list
例外:
NamingException

listBindings

public NamingEnumeration<Binding> listBindings(Name name)
                                        throws NamingException
定義:
インタフェース Context 内の listBindings
例外:
NamingException

listBindings

public NamingEnumeration<Binding> listBindings(String name)
                                        throws NamingException
定義:
インタフェース Context 内の listBindings
例外:
NamingException

destroySubcontext

public void destroySubcontext(Name name)
                       throws NamingException
定義:
インタフェース Context 内の destroySubcontext
例外:
NamingException

destroySubcontext

public void destroySubcontext(String name)
                       throws NamingException
定義:
インタフェース Context 内の destroySubcontext
例外:
NamingException

createSubcontext

public Context createSubcontext(Name name)
                         throws NamingException
定義:
インタフェース Context 内の createSubcontext
例外:
NamingException

createSubcontext

public Context createSubcontext(String name)
                         throws NamingException
定義:
インタフェース Context 内の createSubcontext
例外:
NamingException

lookupLink

public Object lookupLink(Name name)
                  throws NamingException
定義:
インタフェース Context 内の lookupLink
例外:
NamingException

lookupLink

public Object lookupLink(String name)
                  throws NamingException
定義:
インタフェース Context 内の lookupLink
例外:
NamingException

getNameParser

public NameParser getNameParser(Name name)
                         throws NamingException
定義:
インタフェース Context 内の getNameParser
例外:
NamingException

getNameParser

public NameParser getNameParser(String name)
                         throws NamingException
定義:
インタフェース Context 内の getNameParser
例外:
NamingException

composeName

public Name composeName(Name name,
                        Name prefix)
                 throws NamingException
定義:
インタフェース Context 内の composeName
例外:
NamingException

composeName

public String composeName(String name,
                          String prefix)
                   throws NamingException
定義:
インタフェース Context 内の composeName
例外:
NamingException

addToEnvironment

public Object addToEnvironment(String propName,
                               Object propVal)
                        throws NamingException
定義:
インタフェース Context 内の addToEnvironment
例外:
NamingException

removeFromEnvironment

public Object removeFromEnvironment(String propName)
                             throws NamingException
定義:
インタフェース Context 内の removeFromEnvironment
例外:
NamingException

getEnvironment

public Hashtable<?,?> getEnvironment()
                              throws NamingException
定義:
インタフェース Context 内の getEnvironment
例外:
NamingException

getNameInNamespace

public String getNameInNamespace()
                          throws NamingException
定義:
インタフェース Context 内の getNameInNamespace
例外:
NamingException


Copyright © 2010 The Seasar Foundation. All Rights Reserved.