软件包 | 描述 |
---|---|
javax.naming |
提供访问命名服务的类和接口。
|
javax.naming.directory |
延伸到用于访问目录服务提供的功能的
javax.naming包。
|
javax.naming.event |
在访问命名和目录服务时提供事件通知的支持。
|
javax.naming.ldap |
为提升扩展操作和控制支持。
|
javax.naming.spi | |
javax.sql.rowset.spi |
三分之一方供应商在其执行同步提供程序中使用的标准类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
InitialContext
此类是执行命名操作的起始上下文。
|
Modifier and Type | Field and Description |
---|---|
protected Context |
CannotProceedException.altNameCtx
包含上下文相关的,
altName 指定。
|
protected Context |
InitialContext.defaultInitCtx
田间持namingmanager getinitialcontext()调用的结果。
|
Modifier and Type | Method and Description |
---|---|
Context |
InitialContext.createSubcontext(Name name) |
Context |
Context.createSubcontext(Name name)
创建和绑定一个新的上下文。
|
Context |
InitialContext.createSubcontext(String name) |
Context |
Context.createSubcontext(String name)
创建和绑定一个新的上下文。
|
Context |
CannotProceedException.getAltNameCtx()
检索此异常的
altNameCtx 场。
|
protected Context |
InitialContext.getDefaultInitCtx()
获取初始上下文的defaultinitctx调用
NamingManager.getInitialContext() 和缓存。
|
abstract Context |
ReferralException.getReferralContext()
检索继续该方法的上下文。
|
abstract Context |
ReferralException.getReferralContext(Hashtable<?,?> env)
检索使用环境属性的方法的上下文。
|
protected Context |
InitialContext.getURLOrDefaultInitCtx(Name name)
为解决
name 上下文检索。
|
protected Context |
InitialContext.getURLOrDefaultInitCtx(String name)
检索解决字符串名称
name 上下文。
|
Modifier and Type | Method and Description |
---|---|
void |
CannotProceedException.setAltNameCtx(Context altNameCtx)
设置此异常的
altNameCtx 场。
|
Modifier and Type | Interface and Description |
---|---|
interface |
DirContext
目录服务接口,包含用于检查和更新与对象相关联的属性的方法,以及用于搜索目录的方法。
|
Modifier and Type | Class and Description |
---|---|
class |
InitialDirContext
此类是执行目录操作的起始上下文。
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventContext
包含了注册/注销的听众被通知时触发的事件对象的上下文变化命名方法。
|
interface |
EventDirContext
包含将在目录上下文更改中命名的对象时被激发的事件的通知的方法。
|
Modifier and Type | Interface and Description |
---|---|
interface |
LdapContext
这个界面是您可以执行的操作控制方式和风格进行LDAPv3 LDAPv3扩展操作上下文。
|
Modifier and Type | Class and Description |
---|---|
class |
InitialLdapContext
这类表演LDAPv3扩展操作和控制的启动背景。
|
Modifier and Type | Method and Description |
---|---|
abstract Context |
LdapReferralException.getReferralContext()
检索使用上下文环境和无控件继续使用该方法的上下文。
|
abstract Context |
LdapReferralException.getReferralContext(Hashtable<?,?> env)
检索使用环境属性和没有控件的方法的上下文。
|
abstract Context |
LdapReferralException.getReferralContext(Hashtable<?,?> env, Control[] reqCtls)
检索使用请求控件和环境属性继续使用的方法的上下文。
|
Modifier and Type | Method and Description |
---|---|
static Control |
ControlFactory.getControlInstance(Control ctl, Context ctx, Hashtable<?,?> env)
使用已知的控制工厂创建一个控件。
|
Modifier and Type | Method and Description |
---|---|
static Context |
NamingManager.getContinuationContext(CannotProceedException cpe)
创建一个上下文,在该上下文中继续上下文操作。
|
Context |
InitialContextFactory.getInitialContext(Hashtable<?,?> environment)
创建开始名称解析的初始上下文。
|
static Context |
NamingManager.getInitialContext(Hashtable<?,?> env)
使用指定的环境属性创建初始上下文。
|
static Context |
NamingManager.getURLContext(String scheme, Hashtable<?,?> environment)
为给定的网址计划的标识创建一个上下文。
|
Modifier and Type | Method and Description |
---|---|
static Object |
NamingManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment)
为指定的对象和环境创建一个对象的实例。
|
Object |
ObjectFactory.getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
使用指定的位置或参考信息创建一个对象。
|
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 Object |
NamingManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
检索绑定的对象的状态。
|
Object |
StateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
检索绑定的对象的状态。
|
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)
检索要转换的对象和属性的绑定对象的状态。
|
Modifier and Type | Method and Description |
---|---|
ResolveResult |
Resolver.resolveToClass(Name name, 类<? extends Context> contextType)
部分解析一个名称。
|
ResolveResult |
Resolver.resolveToClass(String name, 类<? extends Context> contextType)
部分解析一个名称。
|
Modifier and Type | Method and Description |
---|---|
static void |
SyncFactory.setJNDIContext(Context ctx)
设置初始的JNDI上下文,syncprovider实现可以从JNDI命名空间检索
|
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.