com.resilientedge.util.naming
Interface ContextAncestors
- All Known Implementing Classes:
- AbstractCtx
- public interface ContextAncestors
Interface for getting the ancestors of a Context.
- Author:
- jgardner
getParentContext
public javax.naming.Context getParentContext()
- Get the parent of this context.
- Returns:
- Context A Context or
null
if there is no parent.
getRootContext
public javax.naming.Context getRootContext()
- Get the root context. The root context is determined by finding the first
parent Context that has a
null
parent itself.
- Returns:
- Context A Context or
null
if there is no parent.
Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.