fr.dyade.aaa.jndi2.impl

Class ContextManager

Implemented Interfaces:
java.io.Serializable

public class ContextManager
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary

ContextManager(Transaction transaction, Object serverId, Object rootOwnerId)

Method Summary

void
addNamingContext(NamingContextInfo ncInfo)
NamingContextInfo[]
changeOwner(Object formerOwnerId, Object newOwnerId)
NamingContextInfo[]
copyNamingContexts(Object serverId)
void
delete(NamingContextId ncid, CompositeName name)
NamingContext
getNamingContext(CompositeName name)
NamingContext
getNamingContext(NamingContextId ncid)
NamingContext
getNamingContext(NamingContextId ncid, boolean cache)
NamingContext
getRootNamingContext()
void
initialize()
NamingContext
newNamingContext(Object ownerId, NamingContextId ncid, CompositeName name)
void
readBag(ObjectInputStream in)
void
resetNamingContext(NamingContext context)
void
storeNamingContext(NamingContext nc)
void
writeBag(ObjectOutputStream out)

Constructor Details

ContextManager

public ContextManager(Transaction transaction,
                      Object serverId,
                      Object rootOwnerId)

Method Details

addNamingContext

public void addNamingContext(NamingContextInfo ncInfo)
            throws NamingException


changeOwner

public NamingContextInfo[] changeOwner(Object formerOwnerId,
                                       Object newOwnerId)
            throws NamingException


copyNamingContexts

public NamingContextInfo[] copyNamingContexts(Object serverId)
            throws NamingException


delete

public void delete(NamingContextId ncid,
                   CompositeName name)
            throws NamingException


getNamingContext

public NamingContext getNamingContext(CompositeName name)
            throws NamingException


getNamingContext

public NamingContext getNamingContext(NamingContextId ncid)
            throws NamingException


getNamingContext

public NamingContext getNamingContext(NamingContextId ncid,
                                      boolean cache)
            throws NamingException


getRootNamingContext

public NamingContext getRootNamingContext()
            throws NamingException


initialize

public void initialize()
            throws Exception


newNamingContext

public NamingContext newNamingContext(Object ownerId,
                                      NamingContextId ncid,
                                      CompositeName name)
            throws NamingException


readBag

public void readBag(ObjectInputStream in)
            throws IOException,
                   ClassNotFoundException


resetNamingContext

public void resetNamingContext(NamingContext context)
            throws NamingException


storeNamingContext

public void storeNamingContext(NamingContext nc)
            throws NamingException


writeBag

public void writeBag(ObjectOutputStream out)
            throws IOException


Copyright B) 2004 Scalagent - All rights reserved