|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
¼¹öÃøÀÇ ¿ä±¸ ÀΟ¼¼ÇÁŸ¸¦ ¾×¼¼½º ÇÒ ¼ö ÀÖ´Â ¿ä±¸ Á¤º¸ÀÔ´Ï´Ù.
ServerRequestInfo
¿¡ ´ëÇÑ ÀϺÎÀÇ ¼Ó¼ºÀ̳ª ¿ÀÆÛ·¹À̼ÇÀº ¸ðµç Â÷´ÜÁ¡À¸·Î½á À¯È¿ÇÏ´Ù¶ó°í´Â ÇÑÁ¤ÇÏÁö ¾Ê½À´Ï´Ù. ´ÙÀ½ÀÇ °Ñ(Ç¥)¿¡, °¢ ¼Ó¼º ¶Ç´Â ¿ÀÆÛ·¹À̼ÇÀÇ À¯È¿¼ºÀ» ³ªÅ¸³À´Ï´Ù. À¯È¿ÇÏÁö ¾ÊÀº ¼Ó¼ºÀ̳ª ¿ÀÆÛ·¹À̼ǿ¡ ¾×¼¼½º ÇÏ·Á°í Çϸé(ÀÚ), Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14 °¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ½½·Î¿ì µË´Ï´Ù.
receive_request_
service_contexts |
receive_request | send_reply | send_exception | send_other | |
RequestInfo ·ÎºÎÅÍ °è½ÂµÈ´Ù: | |||||
request_id | ³× | ³× | ³× | ³× | ³× |
operation | ³× | ³× | ³× | ³× | ³× |
arguments | ¾Æ´Ï¿À | ³×1 | ³× | ¾Æ´Ï¿À2 | ¾Æ´Ï¿À2 |
exceptions | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
contexts | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
operation_context | ¾Æ´Ï¿À | ³× | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
result | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
response_expected | ³× | ³× | ³× | ³× | ³× |
sync_scope | ³× | ³× | ³× | ³× | ³× |
reply_status | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
forward_reference | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³×2 |
get_slot | ³× | ³× | ³× | ³× | ³× |
get_request_service_context | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
get_reply_service_context | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
ServerRequestInfo °íÀ¯: | |||||
sending_exception | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À |
object_id | ¾Æ´Ï¿À | ³× | ³× | ³×3 | ³×3 |
adapter_id | ¾Æ´Ï¿À | ³× | ³× | ³×3 | ³×3 |
target_most_derived_interface | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 |
get_server_policy | ³× | ³× | ³× | ³× | ³× |
set_slot | ³× | ³× | ³× | ³× | ³× |
target_is_a | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 |
add_reply_service_context | ³× | ³× | ³× | ³× | ³× |
ServerRequestInfo
°¡ receive_request
¿¡°Ô °Ç³×Áú ¶§´Â °¢ ÀμöÀÇ ¸®½ºÆ®¿¡ in, inout, out ÀÇ ¾î¶² °ÍÀΰ¡ÀÇ ¿£Æ®¸®°¡ ÀÖ½À´Ï´Ù¸¸, »ç¿ëÇÒ ¼ö ÀÖ´Â °ÍÀº in ¿Í inout ÀÇ Àμö »ÓÀÔ´Ï´Ù. reply_status
¼Ó¼ºÀÌ LOCATION_FORWARD
°¡ ¾Æ´Ñ °æ¿ì´Â ÀÌ ¼Ó¼º¿¡ ¾×¼¼½º Çϸé(ÀÚ), Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14 °¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ½½·Î¿ì µË´Ï´Ù. NO_RESOURCES
ÀÌ ½½·Î¿ì µË´Ï´Ù. ServantLocator
¸¦ »ç¿ëÇÏ´Â POA ÀÎ °æ¿ì, ORB ´Â ServantLocator.postinvoke()
¸¦ È£ÃâÇÑ ÈÄ¿¡ ÀÌ Â÷´ÜÁ¡À» È£ÃâÇÕ´Ï´Ù.
ServerRequestInterceptor
¸Þ¼ÒµåÀÇ °³¿ä | |
byte[] |
adapter_id ()
¿ÀºêÁ§Æ® ¾î´ðÅÍÀÇ ºÒÅõ¸íÇÑ ½Äº°ÀÚ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
add_reply_service_context (ServiceContext service_context,
boolean replace)
ÀΟ¼¼ÇÁŸ°¡ ¼ºñ½º ¹®¸ÆÀ» ¿ä±¸¿¡ Ãß°¡ÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. |
Policy |
get_server_policy (int type)
ÀÌ ¿ÀÆÛ·¹À̼ǿ¡ À¯È¿ÇÑ ÁöÁ¤µÈ Æú¸®½ÃÇüÀÇ Æú¸®½Ã¸¦ µ¹·ÁÁÝ´Ï´Ù. |
byte[] |
object_id ()
¿ÀÆÛ·¹ÀÌ¼Ç È£ÃâÀÇ Å¸°ÙÀ» ³ªÅ¸³»°í ÀÖ´Â ºÒÅõ¸íÇÑ object_id ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Any |
sending_exception ()
Ŭ¶óÀÌ¾ðÆ®¿¡ µ¹·ÁÁÖ¾îÁö´Â ¿¹¿Ü¸¦ ÀúÀåÇÏ´Â any ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
set_slot (int id,
Any data)
ÀΟ¼¼ÇÁŸ°¡, ¿ä±¸ÀÇ ¹üÀ§³»¿¡ ÀÖ´Â PortableInterceptor.Current ¿¡ ½½·ÔÀ» ¼³Á¤ÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. |
boolean |
target_is_a (String id)
¼¹øÆ®°¡ ÁöÁ¤ÀÇ ¸®Æ÷ÁöÅ͸®(repository) ID ÀÎ °æ¿ì´Â true ¸¦ µ¹·ÁÁÖ¾î, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
String |
target_most_derived_interface ()
¼¹øÆ®ÀÇ ÃÖ»óÁ¤µµÀÇ ÆÄ»ý ÀÎÅÍÆäÀ̽ºÀÇ ¸®Æ÷ÁöÅ͸®(repository) ID ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º org.omg.PortableInterceptor. RequestInfoOperations ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
arguments , contexts , exceptions , forward_reference , get_reply_service_context , get_request_service_context , get_slot , operation_context , operation , reply_status , request_id , response_expected , result , sync_scope |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public Any sending_exception()
¿¹¿Ü°¡, any ¿¡ »ðÀÔÇÒ ¼ö ¾ø´Â À¯Àú ¿¹¿Ü (¿¹¿Ü°¡ ºÒ¸íÇϰųª ¹ÙÀεù¿¡ ÀÇÇØ TypeCode
°¡ Á¦°øµÇÁö ¾Ê´Â µî)ÀÎ °æ¿ì, ÀÌ ¼Ó¼ºÀº Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 1 ÀÌ ¼³Á¤µÈ ½Ã½ºÅÛ ¿¹¿Ü UNKNOWN
¸¦ Æ÷ÇÔÇÑ any °¡ µË´Ï´Ù.
PortableInterceptor
ÆÐŰÁöÀÇ ±âÁ¸ÀÇ Á¦ÇÑ/±¸ÇöµÇ¾î ÀÖÁö ¾ÊÀº ¸Þ¼Òµå¿¡ ´ëÇÑ ÄÚ¸àÆ® public byte[] object_id()
object_id
¸¦ µ¹·ÁÁÝ´Ï´Ù.
public byte[] adapter_id()
public String target_most_derived_interface()
public Policy get_server_policy(int type)
CORBA.Policy
¿ÀºêÁ§Æ®´Â register_policy_factory
¸¦ °³ÀÔ½ÃÄÑ ÇüŰ¡ µî·ÏµÇ¾î ÀÖ´Â À¯ÀÏÇÑ Æú¸®½ÃÀÔ´Ï´Ù.
type
- µ¹·ÁÁÖ¾îÁö´Â Æú¸®½Ã¸¦ ÁöÁ¤ÇÏ´Â CORBA.PolicyType
CORBA.Policy
INV_POLICY
- ÁöÁ¤µÈ ÇüÅÂÀÇ Æú¸®½Ã°¡ register_policy_factory
¸¦ °³ÀÔ½ÃÄÑ µî·ÏµÇÁö ¾Ê¾Ò´ø °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 2 ·Î ½½·Î¿ì µÇ´ÂORBInitInfoOperations.register_policy_factory(int, org.omg.PortableInterceptor.PolicyFactory)
public void set_slot(int id, Any data) throws InvalidSlot
PortableInterceptor.Current
¿¡ ½½·ÔÀ» ¼³Á¤ÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. ±× ½½·Ô¿¡ µ¥ÀÌÅͰ¡ ¹ú½á Á¸ÀçÇÏ´Â °æ¿ì, ±âÁ¸ÀÇ µ¥ÀÌÅÍ´Â µ¡¾²±âµË´Ï´Ù.
id
- ½½·ÔÀÇ IDdata
- ±× ½½·Ô¿¡ ÀúÀåÇÏ´Â any Çü½ÄÀÇ µ¥ÀÌÅÍ
InvalidSlot
- ÀÌ ID ¿¡ ÀÇÇØ ÇÒ´çÇÏ°í ³¡³ ½½·ÔÀÌ Á¤ÀǵǾî ÀÖÁö ¾ÊÀº °æ¿ì¿¡ ½½·Î¿ì µÇ´ÂCurrent
public boolean target_is_a(String id)
id
- È£ÃâÃø¿¡¼´Â ¼¹øÆ®°¡ ÀÌ ¸®Æ÷ÁöÅ͸®(repository) ID ÀÏÁö ¾î¶³Áö¸¦ È®ÀÎÇÒ Çʿ䰡 ÀÖ´Ù
public void add_reply_service_context(ServiceContext service_context, boolean replace)
¼ºñ½º ¹®¸ÆÀÇ ¼ø¼ÀÇ ¼±¾ðÀº ¾ø½À´Ï´Ù. ÀÌ ¶§¹®¿¡, Ãß°¡µÈ ¼ø¼¿¡ Ç¥½ÃµÇ´Â °æ¿ìµµ Ç¥½ÃµÇÁö ¾Ê´Â °æ¿ìµµ ÀÖ½À´Ï´Ù.
service_context
- ÀÀ´ä¿¡ Ãß°¡ÇÏ´Â IOP.ServiceContext
replace
- ÁöÁ¤µÈ ID ¸¦ °¡Áö´Â ¼ºñ½º ¹®¸ÆÀÌ ¹ú½á Á¸ÀçÇϰí ÀÖÀ» ¶§ÀÇ ÀÌ ¿ÀÆÛ·¹À̼ÇÀÇ µ¿ÀÛÀ» ³ªÅ¸³½´Ù. false ÀÇ °æ¿ì´Â Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 15 °¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ½½·Î¿ì µÈ´Ù. true ÀÇ °æ¿ì´Â ±âÁ¸ÀÇ ¼ºñ½º ¹®¸ÆÀÌ »õ·Î¿î °Í¿¡ ġȯµÈ´Ù
BAD_INV_ORDER
- replace °¡ false ÀÏ ¶§, ÁöÁ¤µÈ ID ÀÇ ¼ºñ½º ¹®¸ÆÀÌ ¹ú½á Á¸ÀçÇÏ´Â °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 15 ·Î ½½·Î¿ì µÈ´Ù
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.