com.anabas.gxo
Interface GND_Collection
- All Known Implementing Classes:
- GND_CollectionImpl
- public interface GND_Collection
- extends Context
Title:
Description:
Copyright: Copyright (c) 2000
Company:
removeCollectionListener
public void removeCollectionListener(GND_CollectionListener l)
addCollectionListener
public void addCollectionListener(GND_CollectionListener l)
throws GXO_AccessDeniedException
createChildCollection
public GND_Collection createChildCollection(java.lang.String name)
throws GXO_AccessDeniedException,
NamingException
- Convenience function for DirContext.createSubcontext();
Creates a new sub context within the larger stream context. Each context
can contain other sub contexts or streams (leaf nodes)
bindXO
public void bindXO(java.lang.String name,
java.lang.Object obj)
throws GXO_AccessDeniedException,
GXO_IllegalObjectException,
NamingException
- Binds another stream context or stream under this context. Or potentially
other types of objects. Equivalent to JNDI Context.bind
- Throws:
- AccessDeniedException - if app does not have permission to bind.
- IllegalObjectException - if object being bound is not a stream or streamcontext.
lookupXO
public java.lang.Object lookupXO(java.lang.String name)
throws GXO_AccessDeniedException,
NamingException
- Lookup a object in this stream context. Equivalent to JNDI Context.lookup
- Returns:
- Either GND_Collection or Stream or null if nothing found.