fr.dyade.aaa.jndi2.impl
Class ContextManager
java.lang.Object
fr.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
contextIdTable
private ContextTable contextIdTable
contextNameTable
private ContextTable contextNameTable
rootContextId
private NamingContextId rootContextId
storageManager
private StorageManager storageManager
ContextManager
public ContextManager(Transaction transaction,
java.lang.Object serverId,
java.lang.Object rootOwnerId)
initialize
public void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
put
private void put(NamingContext nc)
put
private void put(javax.naming.CompositeName name,
NamingContext nc)
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
getNamingContextFromName
private NamingContext getNamingContextFromName(javax.naming.CompositeName name)
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(javax.naming.CompositeName cn,
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
registerMBean
private void registerMBean(NamingContext context,
javax.naming.CompositeName cn)
unregisterMBean
private void unregisterMBean(javax.naming.CompositeName cn)
reloadMBean
private void reloadMBean(NamingContext context)
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.