|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
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 Stub를 돌려줍니다. |
클래스 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 의 경우,
빈 상태(empty)의 맵을 지정했을 경우와 같은 것이 된다
IOException
- RMI 객체를 작성할 수 없는 경우메소드의 상세 |
---|
protected void export() throws IOException
RMIServerImpl
의 기술:이 RMI 객체를 export 합니다.
RMIServerImpl
내의 export
IOException
- 이 RMI 객체를 export 할 수 없는 경우protected String getProtocol()
RMIServerImpl
의 기술:이 객체의 프로토콜 캐릭터 라인을 돌려줍니다. 반환되는 캐릭터 라인은, RMI/JRMP 의 경우는 rmi
, RMI/IIOP 의 경우는 iiop
가 됩니다.
RMIServerImpl
내의 getProtocol
public Remote toStub() throws IOException
IIOP Stub를 돌려줍니다.
Stub는, 아직 ORB 에 접속되어 있지 않은 것이 있습니다. Stub를 직렬화하려면 , ORB 에 접속할 필요가 있습니다.
RMIServerImpl
내의 toStub
IOException
- Stub를 작성할 수 없는 경우.
예를 들어, 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 Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.