public class NamingContext extends Object implements NamingContextMBean, Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
private CompositeName |
contextName |
private NamingContextId |
id |
private Object |
ownerId |
private Vector |
records |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
NamingContext(NamingContextId id,
Object ownerId,
CompositeName contextName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(Record record) |
Object |
clone() |
void |
createSubcontext(String ctxName) |
void |
destroySubcontext() |
Binding[] |
getBindings() |
private static String |
getClassName(Object obj) |
private CompositeName |
getCompositeName(String path) |
CompositeName |
getContextName() |
Enumeration |
getEnumRecord() |
NamingContextId |
getId() |
NameClassPair[] |
getNameClassPairs() |
String[] |
getNamingContext() |
Object |
getOwnerId() |
Properties |
getProperties(String name) |
Record |
getRecord(String name) |
String |
getStrOwnerId() |
String |
lookup(String name) |
boolean |
removeRecord(String name) |
private void |
sendTo(fr.dyade.aaa.jndi2.msg.JndiRequest request) |
void |
setOwnerId(Object ownerId) |
void |
setStrOwnerId(String strOwnerId) |
int |
size() |
String |
toString() |
void |
unbind(String name) |
private static final long serialVersionUID
private NamingContextId id
private Object ownerId
private Vector records
private CompositeName contextName
public NamingContext(NamingContextId id, Object ownerId, CompositeName contextName)
public final NamingContextId getId()
public final Object getOwnerId()
public void setOwnerId(Object ownerId)
public Enumeration getEnumRecord()
public void addRecord(Record record)
public boolean removeRecord(String name)
public int size()
public NameClassPair[] getNameClassPairs()
public Binding[] getBindings()
public CompositeName getContextName()
public String[] getNamingContext()
getNamingContext in interface NamingContextMBeanpublic String getStrOwnerId()
getStrOwnerId in interface NamingContextMBeanpublic void setStrOwnerId(String strOwnerId)
setStrOwnerId in interface NamingContextMBeanpublic void createSubcontext(String ctxName) throws NamingException
createSubcontext in interface NamingContextMBeanNamingExceptionpublic void destroySubcontext()
throws NamingException
destroySubcontext in interface NamingContextMBeanNamingExceptionpublic String lookup(String name) throws NamingException
lookup in interface NamingContextMBeanNamingExceptionpublic void unbind(String name) throws NamingException
unbind in interface NamingContextMBeanNamingExceptionpublic Properties getProperties(String name) throws NamingException
getProperties in interface NamingContextMBeanNamingExceptionprivate CompositeName getCompositeName(String path) throws InvalidNameException
InvalidNameExceptionprivate void sendTo(fr.dyade.aaa.jndi2.msg.JndiRequest request)
Copyright © 2021 ScalAgent D.T.. All rights reserved.