public class ContextFederation extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
MAX_WRITE_ATTEMPTS |
Constructor | Description |
---|---|
ContextFederation(Context actualContext) |
|
ContextFederation(Context actualContext,
Set<Context> federatedContexts) |
Modifier and Type | Method | 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
NamingException
public Map<String,Object> getFederatedBindings(String name) throws NamingException
NamingException
protected boolean addBinding(String name, Object value, boolean rebind) throws NamingException
NamingException
protected boolean removeBinding(String name) throws NamingException
NamingException
public ContextFederation createSubcontextFederation(String subcontextName, Context actualSubcontext) throws NamingException
NamingException
Copyright © 2005–2018. All rights reserved.