org.apache.xbean.naming.context
Class ContextFederation
java.lang.Object
org.apache.xbean.naming.context.ContextFederation
public class ContextFederation
- extends Object
- Version:
- $Rev$ $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_WRITE_ATTEMPTS
public static final int MAX_WRITE_ATTEMPTS
- See Also:
- Constant Field Values
ContextFederation
public ContextFederation(Context actualContext)
ContextFederation
public ContextFederation(Context actualContext,
Set<Context> federatedContexts)
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.