public class ContextManager extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private ContextTable |
contextIdTable |
private ContextTable |
contextNameTable |
private NamingContextId |
rootContextId |
private static long |
serialVersionUID |
private StorageManager |
storageManager |
| Constructor and Description |
|---|
ContextManager(fr.dyade.aaa.util.Transaction transaction,
Object serverId,
Object rootOwnerId) |
private static final long serialVersionUID
private ContextTable contextIdTable
private ContextTable contextNameTable
private NamingContextId rootContextId
private StorageManager storageManager
private void put(NamingContext nc)
private void put(CompositeName name, NamingContext nc)
public NamingContext getNamingContext(NamingContextId ncid) throws NamingException
NamingExceptionpublic NamingContext getNamingContext(NamingContextId ncid, boolean cache) throws NamingException
NamingExceptionprivate NamingContext getNamingContextFromName(CompositeName name) throws NamingException
NamingExceptionpublic NamingContext getNamingContext(CompositeName name) throws NamingException
NamingExceptionpublic void delete(NamingContextId ncid, CompositeName name) throws NamingException
NamingExceptionpublic NamingContextInfo[] copyNamingContexts(Object serverId) throws NamingException
NamingExceptionpublic NamingContext newNamingContext(Object ownerId, NamingContextId ncid, CompositeName name) throws NamingException
NamingExceptionpublic void addNamingContext(NamingContextInfo ncInfo) throws NamingException
NamingExceptionpublic NamingContext getRootNamingContext() throws NamingException
NamingExceptionpublic void storeNamingContext(NamingContext nc) throws NamingException
NamingExceptionpublic NamingContextInfo[] changeOwner(CompositeName cn, Object formerOwnerId, Object newOwnerId) throws NamingException
NamingExceptionpublic void resetNamingContext(NamingContext context) throws NamingException
NamingExceptionprivate void registerMBean(NamingContext context, CompositeName cn)
private void unregisterMBean(CompositeName cn)
private void reloadMBean(NamingContext context)
Copyright © 2021 ScalAgent D.T.. All rights reserved.