Package org.apache.xbean.naming.context
Class ContextFederation
java.lang.Object
org.apache.xbean.naming.context.ContextFederation
- Version:
- $Rev$ $Date$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContextFederation
(Context actualContext) ContextFederation
(Context actualContext, Set<Context> federatedContexts) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addBinding
(String name, Object value, boolean rebind) void
addContext
(Context context) createSubcontextFederation
(String subcontextName, Context actualSubcontext) getFederatedBinding
(String name) getFederatedBindings
(String name) protected boolean
removeBinding
(String name) void
removeContext
(Context context)
-
Field Details
-
MAX_WRITE_ATTEMPTS
public static final int MAX_WRITE_ATTEMPTS- See Also:
-
-
Constructor Details
-
ContextFederation
-
ContextFederation
-
-
Method Details
-
addContext
-
removeContext
-
getFederatedContexts
-
getFederatedBinding
- Throws:
NamingException
-
getFederatedBindings
- Throws:
NamingException
-
addBinding
- Throws:
NamingException
-
removeBinding
- Throws:
NamingException
-
lookup
-
createSubcontextFederation
public ContextFederation createSubcontextFederation(String subcontextName, Context actualSubcontext) throws NamingException - Throws:
NamingException
-