|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectorg.omg.PortableServer.Servant
public abstract class Servant
³×ÀÌÆ¼ºêÀÎ Servant
ÇüÀ» Á¤ÀÇÇÕ´Ï´Ù. Java ¿¡¼´Â Servant
ÇüÀº Java
org.omg.PortableServer.Servant
Ŭ·¡½º¿¡ ¸Ê µË´Ï´Ù. ÀÌ Å¬·¡½º´Â ¸ðµç POA ¼¹øÆ® ±¸ÇöÀÇ base class·Î¼ ±â´ÉÇØ, ¾îÇø®ÄÉÀÌ¼Ç ÇÁ·Î±×·¡¸Ó°¡ È£ÃâÇÒ ¼ö ÀÖ´Â ¸î°³ÀÇ ¸Þ¼µå ¿Ü¿¡
POA ±× ÀÚü¿¡ ÀÇÇØ ºÒ·Á°¡
¼¹øÆ®ÀÇ µ¿ÀÛÀ» Á¦¾îÇϱâ À§Çؼ »ç¿ëÀÚ°¡ ¿À¹ö¶óÀ̵å(override) ÇÒ ¼ö ÀÖ´Â ¸Þ¼µåµµ Á¦°øÇÕ´Ï´Ù. IDL - Java °£ÀÇ »ç¾ç (CORBA V2. 3.1) ptc/00-01-08.pdf¿¡ ÁذÅÇϰí ÀÖ½À´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
Servant ()
|
¸Þ¼µå °³¿ä | |
---|---|
abstract String [] |
_all_interfaces (POA poa,
byte[] objectId)
ORB°¡ ¼¹øÆ®·ÎºÎÅÍ ¿ÏÀüÇÑ ÇüÅ Á¤º¸¸¦ ÃëµæÇϱâ À§Çؼ »ç¿ëÇÕ´Ï´Ù. |
POA |
_default_POA ()
¼¹øÆ®°¡ °ü·ÃµÈ ORB ÀνºÅϽº·ÎºÎÅÍ ·çÆ® POA¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Delegate |
_get_delegate ()
ORB º¥´õ °íÀ¯ÀÇ PortableServer::Servant ±¸ÇöÀ» ÃëµæÇÕ´Ï´Ù. |
Object |
_get_interface_def ()
Servant ¿¡ ÀÇÇØ ±¸ÇöµÈ CORBA::Object
½ÇÇà½ÃÀÇ ÇüŸ¦ Á¤ÀÇÇÏ´Â CORBA::Object ·Î
¼ InterfaceDef °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
_is_a (String repository_id)
ÁöÁ¤µÈ repository_id ÀÌ, _all_interfaces() ¿¡ ÀÇÇØ ¸®ÅÏµÈ ¸®½ºÆ®¿¡ Æ÷ÇԵǾî ÀÖ´ÂÁö, ±×·¸Áö ¾ÊÀ¸¸é ¹ü¿ëÀÇ CORBA °´Ã¼ÀÇ repository_id ÀÎÁö¸¦ È®ÀÎÇÕ´Ï´Ù. |
boolean |
_non_existent ()
Object
Á¸À縦 È®ÀÎÇÕ´Ï´Ù. |
byte[] |
_object_id ()
°øÅëÀÇ ¸Þ¼µå¸¦ °£´ÜÇÏ°Ô ½ÇÇàÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù ( PortableServer::Current::get_object_id ¸¦ È£ÃâÇÏ´Â °Í°ú °°´Ù). |
ORB |
_orb ()
Servant ¿¡ ÇöÀç °ü·ÃµÈ
ORB
ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù (°£ÀÌ ¸Þ¼µå). |
POA |
_poa ()
°øÅëÀÇ ¸Þ¼µå¸¦ °£´ÜÇÏ°Ô ½ÇÇàÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù ( PortableServer::Current:get_POA ¿Í
°°´Ù). |
void |
_set_delegate (Delegate delegate)
À§Å¹À» °³ÀÔ½ÃÄÑ ORB À̽ļºÀ» Áö¿øÇϴ Ŭ·¡½º¸¦ ¸Þ¼µå¿¡ Á¦°øÇÏ´Â °ÍÀ¸·Î½á, Java ORB À̽ļºÀÌ ÀÖ´Â ÀÎÅÍÆäÀ̽º¸¦ Áö¿ø ÇÕ´Ï´Ù. |
Object |
_this_object ()
¼¹øÆ®°¡ ±× ¿ä±¸¿¡ ´ëÇØ¼ »ý¼ºÇϰí Àִ Ÿ°ÙÀÇ CORBA °´Ã¼ÀÇ °´Ã¼ ÂüÁ¶¸¦ ÃëµæÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. |
Object |
_this_object (ORB orb)
¼¹øÆ®°¡ ±× ¿ä±¸¿¡ ´ëÇØ¼ »ý¼ºÇϰí Àִ Ÿ°ÙÀÇ CORBA °´Ã¼ÀÇ °´Ã¼ ÂüÁ¶¸¦ ÃëµæÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public Servant()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public final Delegate _get_delegate()
PortableServer::Servant
±¸ÇöÀ» ÃëµæÇÕ´Ï´Ù.
_delegate
ORB º¥´õ °íÀ¯ÀÇ PortableServer::Servant
±¸Çöpublic final void _set_delegate(Delegate delegate)
delegate
- ORB º¥´õ °íÀ¯ÀÇ PortableServer::Servant
±¸Çöpublic final Object _this_object()
this_object
¿ä±¸¿¡ °ü·ÃµÈ
°´Ã¼ ÂüÁ¶
public final Object _this_object(ORB orb)
orb
- ¼¹øÆ®°¡ °ü·ÃµÈ
ORB
_this_object
¿ä±¸¿¡ °ü·ÃµÈ
ÂüÁ¶public final ORB _orb()
Servant
¿¡ ÇöÀç °ü·ÃµÈ
ORB
ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù (°£ÀÌ ¸Þ¼µå).
orb
Servant
¿¡ ÇöÀç °ü·ÃµÈ
ORB
ÀνºÅϽºpublic final POA _poa()
PortableServer::Current:get_POA
¿Í
°°´Ù).
poa
¼¹øÆ®°¡ °ü·ÃµÈ
POApublic final byte[] _object_id()
PortableServer::Current::get_object_id
¸¦ È£ÃâÇÏ´Â °Í°ú °°´Ù).
object_id
ÀÌ ¼¹øÆ®°¡ °ü·ÃµÈ
Object
IDpublic POA _default_POA()
default_POA
Servant
¿¡ °ü·ÃµÈ
POApublic boolean _is_a(String repository_id)
repository_id
ÀÌ, _all_interfaces()
¿¡ ÀÇÇØ ¸®ÅÏµÈ ¸®½ºÆ®¿¡ Æ÷ÇԵǾî ÀÖ´ÂÁö, ±×·¸Áö ¾ÊÀ¸¸é ¹ü¿ëÀÇ CORBA °´Ã¼ÀÇ repository_id
ÀÎÁö¸¦ È®ÀÎÇÕ´Ï´Ù.
repository_id
- ¸®Æ÷ÁöÅ͸®(repository) ¸®½ºÆ®¿¡ Á¸ÀçÇÏ´Â °Í, ¶Ç´Â ¹ü¿ë CORBA °´Ã¼ÀÇ ID ÀÎ °ÍÀ» È®ÀÎÇÏ´Â repository_id
is_a
ÁöÁ¤µÈ repository_id
°¡ ¸®Æ÷ÁöÅ͸®(repository) ¸®½ºÆ®¿¡ Æ÷ÇԵǾî ÀÖ´ÂÁö, ¹ü¿ëÀÇ CORBA °´Ã¼¿Í °°Àº°¡¸¦ ³ªÅ¸³»´Â booleanpublic boolean _non_existent()
Object
Á¸À縦 È®ÀÎÇÕ´Ï´Ù. Servant
´Â
ÆÄ»ý ¼¹øÆ®¿¡ ÀÇÇØ ¿À¹ö¶óÀ̵å(override) ÇÒ ¼ö ÀÖ´Â _non_existent()
µðÆúÆ® ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù.
non_existent
ÇØ´ç °´Ã¼°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â true
, Á¸ÀçÇÏ´Â °æ¿ì´Â false
public Object _get_interface_def()
Servant
¿¡ ÀÇÇØ ±¸ÇöµÈ CORBA::Object
½ÇÇà½ÃÀÇ ÇüŸ¦ Á¤ÀÇÇÏ´Â CORBA::Object
·Î
¼ InterfaceDef
°´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. _get_interface_def
È£ÃâÃø¿¡¼´Â ±× °á°ú¸¦ InterfaceDef
¿¡ ³×·Î¿ì º¯È¯ÇÏ°í ³ª¼ »ç¿ëÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
_get_interface_def()
µðÆúÆ®ÀÇ ±¸ÇöÀº µðÆúÆ®ÀÇ µ¿ÀÛÀÌ ÀûÀýÇÏÁö ¾ÊÀº °æ¿ì¿¡ ÆÄ»ý ¼¹øÆ®¿¡ ÀÇÇØ ¿À¹ö¶óÀ̵å(override) ÇÒ ¼ö ÀÖ½À´Ï´Ù. CORBA 2.3. 1 »ç¾çÀÇ ¼½¼Ç 11.3. 1¿¡ Á¤Àǵǰí ÀÖµµ·Ï, _get_interface_def()
µðÆúÆ®ÀÇ µ¿ÀÛÀº Á¤Àû ¼¹øÆ®ÀÇ ÃÖ»óÁ¤µµÀÇ ÆÄ»ý ÀÎÅÍÆäÀ̽º ¶Ç´Â µ¿Àû ¼¹øÆ®·ÎºÎÅÍ ²¨³»Áø ÃÖ»óÁ¤µµÀÇ ÆÄ»ý ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇØ InterfaceDef
¸¦ ¾ò´Â °ÍÀÔ´Ï´Ù. ÀÌ µ¿ÀÛÀº, Servant
¸¦ ±¸ÇöÇÏ´Â Delegate
¿¡ ÀÇÇØ Áö¿ø
µÇ°í ÀÖÀ» Çʿ䰡 ÀÖ½À´Ï´Ù.
get_interface_def
Servant
¿¡ ÀÇÇØ ±¸ÇöµÈ CORBA::Object
½ÇÇà½ÃÀÇ ÇüŸ¦ Á¤ÀÇÇÏ´Â CORBA::Object
·Î¼ÀÇ
InterfaceDef
°´Ã¼public abstract String [] _all_interfaces(POA poa, byte[] objectId)
poa
- ¼¹øÆ®°¡ °ü·ÃµÈ
POAobjectId
- ÀÌ ¼¹øÆ®°¡ °ü·ÃµÈ
°´Ã¼¿¡ ´ëÀÀÇÏ´Â ID
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.