fr.dyade.aaa.jndi2.impl
Class ContextManager

java.lang.Object
  extended byfr.dyade.aaa.jndi2.impl.ContextManager
All 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, java.lang.Object serverId, java.lang.Object rootOwnerId)
           
 
Method Summary
 void addNamingContext(NamingContextInfo ncInfo)
           
 NamingContextInfo[] changeOwner(java.lang.Object formerOwnerId, java.lang.Object newOwnerId)
           
 NamingContextInfo[] copyNamingContexts(java.lang.Object serverId)
           
 void delete(NamingContextId ncid, javax.naming.CompositeName name)
           
 NamingContext getNamingContext(javax.naming.CompositeName name)
           
 NamingContext getNamingContext(NamingContextId ncid)
           
 NamingContext getNamingContext(NamingContextId ncid, boolean cache)
           
 NamingContext getRootNamingContext()
           
 void initialize()
           
 NamingContext newNamingContext(java.lang.Object ownerId, NamingContextId ncid, javax.naming.CompositeName name)
           
 void readBag(java.io.ObjectInputStream in)
           
 void resetNamingContext(NamingContext context)
           
 void storeNamingContext(NamingContext nc)
           
 void writeBag(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManager

public ContextManager(Transaction transaction,
                      java.lang.Object serverId,
                      java.lang.Object rootOwnerId)
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

getNamingContext

public NamingContext getNamingContext(NamingContextId ncid)
                               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getNamingContext

public NamingContext getNamingContext(NamingContextId ncid,
                                      boolean cache)
                               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getNamingContext

public NamingContext getNamingContext(javax.naming.CompositeName name)
                               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

delete

public void delete(NamingContextId ncid,
                   javax.naming.CompositeName name)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

copyNamingContexts

public NamingContextInfo[] copyNamingContexts(java.lang.Object serverId)
                                       throws javax.naming.NamingException
Throws:
javax.naming.NamingException

newNamingContext

public NamingContext newNamingContext(java.lang.Object ownerId,
                                      NamingContextId ncid,
                                      javax.naming.CompositeName name)
                               throws javax.naming.NamingException
Throws:
javax.naming.NamingException

addNamingContext

public void addNamingContext(NamingContextInfo ncInfo)
                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getRootNamingContext

public NamingContext getRootNamingContext()
                                   throws javax.naming.NamingException
Throws:
javax.naming.NamingException

storeNamingContext

public void storeNamingContext(NamingContext nc)
                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

changeOwner

public NamingContextInfo[] changeOwner(java.lang.Object formerOwnerId,
                                       java.lang.Object newOwnerId)
                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

resetNamingContext

public void resetNamingContext(NamingContext context)
                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

writeBag

public void writeBag(java.io.ObjectOutputStream out)
              throws java.io.IOException
Throws:
java.io.IOException

readBag

public void readBag(java.io.ObjectInputStream in)
             throws java.io.IOException,
                    java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright ? 2004 Scalagent - All rights reserved