JavaTM Platform
Standard Ed. 6

接口 org.omg.PortableInterceptor.Current
的使用

使用 Current 的软件包
org.omg.PortableInterceptor 提供一个注册 ORB 钩子 (hook) 的机制,通过这些钩子 ORB 服务可以截取执行 ORB 的正常流。 
 

org.omg.PortableInterceptorCurrent 的使用
 

返回 Currentorg.omg.PortableInterceptor 中的方法
static Current CurrentHelper.extract(Any a)
           
static Current CurrentHelper.narrow(Object obj)
           
static Current CurrentHelper.read(InputStream istream)
           
static Current CurrentHelper.unchecked_narrow(Object obj)
           
 

参数类型为 Currentorg.omg.PortableInterceptor 中的方法
static void CurrentHelper.insert(Any a, Current that)
           
static void CurrentHelper.write(OutputStream ostream, Current value)
           
 


JavaTM Platform
Standard Ed. 6


© ChiefLeo 沪ICP备19010539号-1 - ChiefLeo博客 - ChiefLeo上网导航 - ChiefLeo知识库 - ChiefLeo新闻 - ChiefLeo精选视频