|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.management.remote.rmi.RMIServerImpl
javax.management.remote.rmi.RMIIIOPServerImpl
public class RMIIIOPServerImpl
IIOP ·ÎºÎÅÍ export µÇ¾î IIOP ·ÎºÎÅÍ export µÈ RMI °´Ã¼·Î¼ Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» ÀÛ¼ºÇÏ´Â RMIServerImpl
ÀÔ´Ï´Ù. »ç¿ëÀÚ
ÄÚµå´Â ¹Ýµå½Ã ÀÌ Å¬·¡½º¸¦ Á÷Á¢ ÂüÁ¶ÇÏÁö ¾Ê½À´Ï´Ù.
RMIServerImpl
»ý¼ºÀÚ °³¿ä | |
---|---|
RMIIIOPServerImpl (Map <String,
? > env)
»õ·Î¿î RMIServerImpl ¸¦
ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
protected void |
closeClient (RMIConnection client)
makeClient ·Î ÀÛ¼ºµÈ Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» Á¾·áÇÕ´Ï´Ù. |
protected void |
closeServer ()
RMIServerImpl.close() ¿¡ ÀÇÇØ È£ÃâÇÕ´Ï´Ù. |
protected void |
export ()
ÀÌ RMI °´Ã¼¸¦ export ÇÕ´Ï´Ù. |
protected String |
getProtocol ()
ÀÌ °´Ã¼ÀÇ ÇÁ·ÎÅäÄÝ Ä³¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
protected RMIConnection |
makeClient (String connectionId,
Subject subject)
IIOP ·ÎºÎÅÍ export µÈ RMI °´Ã¼·Î¼ »õ·Î¿î Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» ÀÛ¼ºÇÕ´Ï´Ù. |
Remote |
toStub ()
IIOP ½ºÅÓÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º javax.management.remote.rmi. RMIServerImpl ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clientClosed,
close,
getDefaultClassLoader,
getMBeanServer,
getVersion,
newClient,
setDefaultClassLoader,
setMBeanServer |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public RMIIIOPServerImpl(Map <String, ? > env) throws IOException
»õ·Î¿î RMIServerImpl
¸¦
ÀÛ¼ºÇÕ´Ï´Ù.
env
- »õ·Î¿î RMIServerImpl
¼Ó¼ºÀ» Æ÷ÇÔÇÑ È¯°æ. nullÀÎ °æ¿ì, ºñ¾îÀÖ´Â Map¿Í
µ¿µî
IOException
- RMI °´Ã¼¸¦ ÀÛ¼ºÇÒ ¼ö ¾ø´Â °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
protected void export() throws IOException
RMIServerImpl
±â¼ú: ÀÌ RMI °´Ã¼¸¦ export ÇÕ´Ï´Ù.
RMIServerImpl
³»ÀÇ export
IOException
- ÀÌ RMI °´Ã¼¸¦ export ÇÒ ¼ö ¾ø´Â °æ¿ìprotected String getProtocol()
RMIServerImpl
±â¼ú: ÀÌ °´Ã¼ÀÇ ÇÁ·ÎÅäÄÝ Ä³¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. ¸®ÅϵÈ
ij¸¯ÅÍ ¶óÀÎÀº RMI/JRMPÀÎ °æ¿ì´Â rmi
, RMI/IIOPÀÎ °æ¿ì´Â iiop
°¡ µË´Ï´Ù.
RMIServerImpl
³»ÀÇ getProtocol
public Remote toStub() throws IOException
IIOP ½ºÅÓÀ» ¸®ÅÏÇÕ´Ï´Ù.
½ºÅÓ´Â ¾ÆÁ÷ ORB¿¡ Á¢¼ÓµÇ¾î ÀÖÁö ¾ÊÀº °ÍÀÌ ÀÖ½À´Ï´Ù. ½ºÅÓÀ» Á÷·ÄÈÇÏ·Á¸é, ORB¿¡ Á¢¼ÓÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
RMIServerImpl
³»ÀÇ toStub
IOException
- ½ºÅÓÀ» ÀÛ¼ºÇÒ ¼ö ¾ø´Â °æ¿ì. ¿¹¸¦ µé¾î
RMIIIOPServerImpl°¡ ¾ÆÁ÷ exportµÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì µîprotected RMIConnection makeClient(String connectionId, Subject subject) throws IOException
IIOP ·ÎºÎÅÍ export µÈ RMI °´Ã¼·Î¼ »õ·Î¿î Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» ÀÛ¼ºÇÕ´Ï´Ù.
RMIServerImpl
³»ÀÇ makeClient
connectionId
- »õ·Î¿î Á¢¼ÓÀÇ ID. ÀÌ Ä¿³ØÅÍ ¼¹ö¿¡ ÀÇÇØ À¯È¿È µÈ ¸ðµç Á¢¼ÓÀº °¢°¢ ´Ù¸¥ ID¸¦ °¡Áø´Ù. ÀÌ ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ìÀÇ µ¿ÀÛÀº ºÎÁ¤subject
- ÀÎÁõ ³¡³ ºñÀÎÁõÀÚ. nullµµ °¡´É
RMIConnection
IOException
- »õ·Î¿î Ŭ¶óÀÌ¾ðÆ® °´Ã¼¸¦ ÀÛ¼º ¶Ç´Â export ÇÒ ¼ö ¾ø´Â °æ¿ìprotected void closeClient(RMIConnection client) throws IOException
RMIServerImpl
񃬣: makeClient
·Î ÀÛ¼ºµÈ Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» Á¾·áÇÕ´Ï´Ù.
RMIServerImpl
³»ÀÇ closeClient
client
- ÀÌÀü¿¡ makeClient
¿¡ ÀÇÇØ ¸®ÅϵÈ, closeClient
¸Þ¼µå°¡ ¾ÆÁ÷ 1ȸ
µµ ºÒ·Á°¡
Áö ¾ÊÀº Á¢¼Ó. client
ÀÌ nullÀÎ °æ¿ì¸¦ Æ÷ÇÔÇØ, ¾î¶°ÇÑ Á¶°Ç À§¹ÝÀÌ ÀÖ¾úÀ» °æ¿ì, µ¿ÀÛÀº ºÎÁ¤ÀÌ µÈ´Ù
IOException
- Ŭ¶óÀÌ¾ðÆ® Á¢¼ÓÀ» Á¾·áÇÒ ¼ö ¾ø´Â °æ¿ìprotected void closeServer() throws IOException
RMIServerImpl.close()
¿¡ ÀÇÇØ È£ÃâÇÕ´Ï´Ù. ÀÌ °´Ã¼¸¦ ¾È export ÇÏ´Â °ÍÀ¸·Î½á, Ä¿³ØÅÍ ¼¹ö¸¦ Á¾·áÇÕ´Ï´Ù. ÀÌ ¸Þ¼µåÀÇ Á¾·áÈÄ, Ä¿³ØÅÍ ¼¹ö´Â »õ·Î¿î Á¢¼ÓÀ» ÀÏÀý ¹Þ¾ÆµéÀÌÁö ¾Ê°Ô µË´Ï´Ù.
RMIServerImpl
³»ÀÇ closeServer
IOException
- Ä¿³ØÅÍ ¼¹öÀÇ Á¾·á¿¡ ½ÇÆÐÇßÀ» °æ¿ì
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.