fr.dyade.aaa.jndi2.impl
Class StorageManager

java.lang.Object
  extended byfr.dyade.aaa.jndi2.impl.StorageManager

public class StorageManager
extends java.lang.Object


Field Summary
static java.lang.String CTX_COUNTER
           
static java.lang.String CTX_INDEX
           
static java.lang.String ROOT
           
 
Constructor Summary
StorageManager(Transaction transaction, java.lang.Object serverId)
           
 
Method Summary
 void addNamingContext(NamingContext nc, javax.naming.CompositeName name)
           
 void delete(NamingContextId ncid, javax.naming.CompositeName name)
           
 java.util.Enumeration getContextIds()
           
 java.util.Enumeration getContextNames()
           
 NamingContextId getIdFromName(javax.naming.CompositeName name)
           
 void initialize()
           
 NamingContext loadNamingContext(NamingContextId ncid)
           
 NamingContext loadNamingContext(java.lang.String fileName)
           
 NamingContext newNamingContext(java.lang.Object ownerId, NamingContextId ncid, javax.naming.CompositeName name)
           
 void readBag(java.io.ObjectInputStream in)
           
 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
 

Field Detail

ROOT

public static final java.lang.String ROOT
See Also:
Constant Field Values

CTX_COUNTER

public static final java.lang.String CTX_COUNTER
See Also:
Constant Field Values

CTX_INDEX

public static final java.lang.String CTX_INDEX
See Also:
Constant Field Values
Constructor Detail

StorageManager

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

initialize

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

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(NamingContext nc,
                             javax.naming.CompositeName name)
                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException

storeNamingContext

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

loadNamingContext

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

loadNamingContext

public NamingContext loadNamingContext(java.lang.String fileName)
                                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

getContextIds

public java.util.Enumeration getContextIds()

getContextNames

public java.util.Enumeration getContextNames()

getIdFromName

public NamingContextId getIdFromName(javax.naming.CompositeName name)

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