public class ContextFederation extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_WRITE_ATTEMPTS |
| Constructor and Description |
|---|
ContextFederation(Context actualContext) |
ContextFederation(Context actualContext,
Set<Context> federatedContexts) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final int MAX_WRITE_ATTEMPTS
public ContextFederation(Context actualContext)
public void addContext(Context context)
public void removeContext(Context context)
public Object getFederatedBinding(String name) throws NamingException
NamingExceptionpublic Map<String,Object> getFederatedBindings(String name) throws NamingException
NamingExceptionprotected boolean addBinding(String name, Object value, boolean rebind) throws NamingException
NamingExceptionprotected boolean removeBinding(String name) throws NamingException
NamingExceptionpublic ContextFederation createSubcontextFederation(String subcontextName, Context actualSubcontext) throws NamingException
NamingExceptionCopyright © 2005-2018 The Apache Software Foundation. All Rights Reserved.