软件包 | 描述 |
---|---|
javax.naming.directory |
延伸
javax.naming包用于访问目录服务提供的功能。
|
javax.naming.ldap |
为提升扩展操作和控制支持。
|
javax.naming.spi |
Modifier and Type | Class and Description |
---|---|
class |
BasicAttributes
这个类提供了属性接口的基本实现。
|
Modifier and Type | Method and Description |
---|---|
Attributes |
SearchResult.getAttributes()
检索此搜索结果中的属性。
|
Attributes |
InitialDirContext.getAttributes(Name name) |
Attributes |
DirContext.getAttributes(Name name)
检索与命名对象关联的所有属性。
|
Attributes |
InitialDirContext.getAttributes(Name name, String[] attrIds) |
Attributes |
DirContext.getAttributes(Name name, String[] attrIds)
检索与指定对象关联的选定属性。
|
Attributes |
InitialDirContext.getAttributes(String name) |
Attributes |
DirContext.getAttributes(String name)
检索与命名对象关联的所有属性。
|
Attributes |
InitialDirContext.getAttributes(String name, String[] attrIds) |
Attributes |
DirContext.getAttributes(String name, String[] attrIds)
检索与指定对象关联的选定属性。
|
Modifier and Type | Method and Description |
---|---|
void |
InitialDirContext.bind(Name name, Object obj, Attributes attrs) |
void |
DirContext.bind(Name name, Object obj, Attributes attrs)
将一个名称绑定到一个对象,以及关联的属性。
|
void |
InitialDirContext.bind(String name, Object obj, Attributes attrs) |
void |
DirContext.bind(String name, Object obj, Attributes attrs)
将一个名称绑定到一个对象,以及关联的属性。
|
DirContext |
InitialDirContext.createSubcontext(Name name, Attributes attrs) |
DirContext |
DirContext.createSubcontext(Name name, Attributes attrs)
创建和绑定一个新的上下文,以及相关的属性。
|
DirContext |
InitialDirContext.createSubcontext(String name, Attributes attrs) |
DirContext |
DirContext.createSubcontext(String name, Attributes attrs)
创建和绑定一个新的上下文,以及相关的属性。
|
void |
InitialDirContext.modifyAttributes(Name name, int mod_op, Attributes attrs) |
void |
DirContext.modifyAttributes(Name name, int mod_op, Attributes attrs)
修改与命名对象关联的属性。
|
void |
InitialDirContext.modifyAttributes(String name, int mod_op, Attributes attrs) |
void |
DirContext.modifyAttributes(String name, int mod_op, Attributes attrs)
修改与命名对象关联的属性。
|
void |
InitialDirContext.rebind(Name name, Object obj, Attributes attrs) |
void |
DirContext.rebind(Name name, Object obj, Attributes attrs)
绑定一个名字对象,以及相关的属性,覆盖任何现有的结合。
|
void |
InitialDirContext.rebind(String name, Object obj, Attributes attrs) |
void |
DirContext.rebind(String name, Object obj, Attributes attrs)
绑定一个名字对象,以及相关的属性,覆盖任何现有的结合。
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name, Attributes matchingAttributes) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name, Attributes matchingAttributes)
在包含指定的属性集的对象的单个上下文中搜索。
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
在包含指定的属性集的对象的单个上下文中搜索,并检索选定的属性。
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name, Attributes matchingAttributes) |
NamingEnumeration<SearchResult> |
DirContext.search(String name, Attributes matchingAttributes)
在包含指定的属性集的对象的单个上下文中搜索。
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
DirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn)
在包含指定的属性集的对象的单个上下文中搜索,并检索选定的属性。
|
void |
SearchResult.setAttributes(Attributes attrs)
设置此属性
attrs 搜索结果。
|
Constructor and Description |
---|
SearchResult(String name, Object obj, Attributes attrs)
使用结果的名称、绑定的对象和它的属性构造搜索结果。
|
SearchResult(String name, Object obj, Attributes attrs, boolean isRelative)
使用结果的名称、绑定的对象和它的属性来构造搜索结果,以及名称是否是相对的。
|
SearchResult(String name, String className, Object obj, Attributes attrs)
使用结果的名称、它的类名称、它的绑定对象和它的属性来构造搜索结果。
|
SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative)
使用结果的名称、它的类名称、绑定的对象、它的属性和名称是否是相对的,构造一个搜索结果。
|
Modifier and Type | Method and Description |
---|---|
Attributes |
Rdn.toAttributes()
检索包含在该RDN的类型/值映射的
Attributes 观。
|
Constructor and Description |
---|
Rdn(Attributes attrSet)
构建了由给定的属性设置一个RDN。
|
Modifier and Type | Method and Description |
---|---|
Attributes |
DirStateFactory.Result.getAttributes()
检索绑定的属性。
|
Modifier and Type | Method and Description |
---|---|
static Object |
DirectoryManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)
为指定的对象、属性和环境创建一个对象的实例。
|
Object |
DirObjectFactory.getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)
使用所指定的位置或参考信息和属性创建一个对象。
|
static DirStateFactory.Result |
DirectoryManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)
获取给定对象和它的属性时绑定的对象的状态。
|
DirStateFactory.Result |
DirStateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes inAttrs)
检索要转换的对象和属性的绑定对象的状态。
|
Constructor and Description |
---|
Result(Object obj, Attributes outAttrs)
构造结果的实例。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.