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(Transaction transaction,
Object serverId,
Object rootOwnerId) |
private static final long serialVersionUID
private ContextTable contextIdTable
private ContextTable contextNameTable
private NamingContextId rootContextId
private StorageManager storageManager
public ContextManager(Transaction transaction, Object serverId, Object rootOwnerId)
private void put(NamingContext nc)
private void put(CompositeName name, NamingContext nc)
public NamingContext getNamingContext(NamingContextId ncid) throws NamingException
NamingException
public NamingContext getNamingContext(NamingContextId ncid, boolean cache) throws NamingException
NamingException
private NamingContext getNamingContextFromName(CompositeName name) throws NamingException
NamingException
public NamingContext getNamingContext(CompositeName name) throws NamingException
NamingException
public void delete(NamingContextId ncid, CompositeName name) throws NamingException
NamingException
public NamingContextInfo[] copyNamingContexts(Object serverId) throws NamingException
NamingException
public NamingContext newNamingContext(Object ownerId, NamingContextId ncid, CompositeName name) throws NamingException
NamingException
public void addNamingContext(NamingContextInfo ncInfo) throws NamingException
NamingException
public NamingContext getRootNamingContext() throws NamingException
NamingException
public void storeNamingContext(NamingContext nc) throws NamingException
NamingException
public NamingContextInfo[] changeOwner(CompositeName cn, Object formerOwnerId, Object newOwnerId) throws NamingException
NamingException
public void resetNamingContext(NamingContext context) throws NamingException
NamingException
private void registerMBean(NamingContext context, CompositeName cn)
private void unregisterMBean(CompositeName cn)
private void reloadMBean(NamingContext context)
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.