org.apache.xbean.naming.context
Class ContextFederation

java.lang.Object
  extended by org.apache.xbean.naming.context.ContextFederation

public class ContextFederation
extends Object


Field Summary
static int MAX_WRITE_ATTEMPTS
           
 
Constructor Summary
ContextFederation(Context actualContext)
           
 
Method Summary
protected  boolean addBinding(String name, Object value, boolean rebind)
           
 void addContext(Context context)
           
 ContextFederation createSubcontextFederation(String subcontextName, Context actualSubcontext)
           
 Object getFederatedBinding(String name)
           
 Map getFederatedBindings()
           
 Set getFederatedContexts()
           
 Object lookup(Name name)
           
protected  boolean removeBinding(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_WRITE_ATTEMPTS

public static final int MAX_WRITE_ATTEMPTS
See Also:
Constant Field Values
Constructor Detail

ContextFederation

public ContextFederation(Context actualContext)
Method Detail

addContext

public void addContext(Context context)

getFederatedContexts

public Set getFederatedContexts()

getFederatedBinding

public Object getFederatedBinding(String name)
                           throws NamingException
Throws:
NamingException

getFederatedBindings

public Map getFederatedBindings()
                         throws NamingException
Throws:
NamingException

addBinding

protected boolean addBinding(String name,
                             Object value,
                             boolean rebind)
                      throws NamingException
Throws:
NamingException

removeBinding

protected boolean removeBinding(String name)
                         throws NamingException
Throws:
NamingException

lookup

public Object lookup(Name name)

createSubcontextFederation

public ContextFederation createSubcontextFederation(String subcontextName,
                                                    Context actualSubcontext)
                                             throws NamingException
Throws:
NamingException


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.