org.omg.PortableInterceptor
클래스 CurrentHelper
java.lang.Object
org.omg.PortableInterceptor.CurrentHelper
public abstract class CurrentHelper
- extends Object
Portable Interceptors Current (PICurrent
라고도 불린다)는, 단순한 슬롯 테이블에 지나지 않습니다. 각 서비스는, 이 슬롯 테이블의 슬롯을 사용해, 그 문맥과 요구/응답의 서비스 문맥과의 사이에 문맥 데이터를 교환합니다. PICurrent 를 사용하는 각 서비스는, 초기화시에 1 개 이상의 슬롯을 보관 유지해, 요구나 응답의 처리시에 그러한 슬롯을 사용합니다.
PICurrent 는, 호출을 하기 전에,ORB.resolve_initial_references( "PICurrent" )
의 호출을 개입시켜 취득됩니다. thread 스코프로부터 요구 스코프로 이동한 PICurrent 의 데이터는, 차단점의 내부로부터,RequestInfo
객체에 대한 get_slot
오퍼레이션을 개입시켜 이용할 수 있습니다. PICurrent 는 계속해 resolve_initial_references
를 개입시켜 취득할 수 있습니다만, 그것은 인타세프타의 thread 스코프의 PICurrent 가 됩니다.
클래스 java.lang. Object 로부터 상속된 메소드 |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
CurrentHelper
public CurrentHelper()
insert
public static void insert(Any a,
Current that)
extract
public static Current extract(Any a)
type
public static TypeCode type()
id
public static String id()
read
public static Current read(InputStream istream)
write
public static void write(OutputStream ostream,
Current value)
narrow
public static Current narrow(Object obj)
unchecked_narrow
public static Current unchecked_narrow(Object obj)
버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다. Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.