public abstract class CurrentHelper extends Object
PICurrent
)仅仅是一个槽表,其中槽由每个服务使用它们的上下文之间的数据传递他们的背景和要求的或答复的服务上下文。每个服务都需要使用picurrent储备槽或槽在初始化时使用这些槽的请求和回复的处理中。
前一个调用了,PICurrent通过电话ORB.resolve_initial_references( "PICurrent" )
获得。在拦截点,对picurrent已从螺纹范围移动到请求范围的数据是可以通过在RequestInfo
对象的get_slot
操作。一个picurrent仍然可以通过resolve_initial_references
,但那是拦截器的picurrent螺纹范围。
Constructor and Description |
---|
CurrentHelper() |
Modifier and Type | Method and Description |
---|---|
static Current |
extract(Any a) |
static String |
id() |
static void |
insert(Any a, Current that) |
static Current |
narrow(Object obj) |
static Current |
read(InputStream istream) |
static TypeCode |
type() |
static Current |
unchecked_narrow(Object obj) |
static void |
write(OutputStream ostream, Current value) |
public static TypeCode type()
public static String id()
public static Current read(InputStream istream)
public static void write(OutputStream ostream, Current value)
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.