org.apache.xbean.naming.context
Class ContextFederation

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

public class ContextFederation
extends Object

Version:
$Rev$ $Date$

Field Summary
static int MAX_WRITE_ATTEMPTS
           
 
Constructor Summary
ContextFederation(Context actualContext)
           
ContextFederation(Context actualContext, Set<Context> federatedContexts)
           
 
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<String,Object> getFederatedBindings(String name)
           
 Set<Context> getFederatedContexts()
           
 Object lookup(Name name)
           
protected  boolean removeBinding(String name)
           
 void removeContext(Context context)
           
 
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)

ContextFederation

public ContextFederation(Context actualContext,
                         Set<Context> federatedContexts)
Method Detail

addContext

public void addContext(Context context)

removeContext

public void removeContext(Context context)

getFederatedContexts

public Set<Context> getFederatedContexts()

getFederatedBinding

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

getFederatedBindings

public Map<String,Object> getFederatedBindings(String name)
                                        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-2012. All Rights Reserved.