fr.dyade.aaa.jndi2.impl
Class StorageManager
java.lang.Object
fr.dyade.aaa.jndi2.impl.StorageManager
public class StorageManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
contextCounter
private long contextCounter
transaction
private Transaction transaction
nameToIdIndex
private java.util.Hashtable nameToIdIndex
serverId
private java.lang.Object serverId
StorageManager
public StorageManager(Transaction transaction,
java.lang.Object serverId)
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
newNamingContextId
private NamingContextId newNamingContextId()
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
storeIndex
private void storeIndex()
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 © 2010 ScalAgent D.T.. All Rights Reserved.