JavaTM Platform
Standard Ed. 6

javax.management.remote
클래스 TargetedNotification

java.lang.Object 
  상위를 확장 javax.management.remote.TargetedNotification
모든 구현된 인터페이스:
Serializable


public class TargetedNotification
extends Object
implements Serializable

통지와 청취자 ID 의 페어 (Notification, Listener ID)입니다.

이 클래스는, 발행된 통지와 그 타겟의 청취자의 청취자 ID 를 관련짓기 위해서(때문에) 사용됩니다.

도입된 버젼:
1.5
관련 항목:
직렬화 된 형식

생성자 의 개요
TargetedNotification (Notification  notification, Integer  listenerID)
          TargetedNotification 객체를 구축합니다.
 
메소드의 개요
 Integer getListenerID ()
          통지의 타겟이 되는 청취자의 ID 입니다.
 Notification getNotification ()
          발행된 통지
 String toString ()
          이 Targeted Notification 의 텍스트 표현을 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

TargetedNotification

public TargetedNotification(Notification  notification,
                            Integer  listenerID)

TargetedNotification 객체를 구축합니다. 이 객체에는, 통지와 청취자 ID 의 페어 (Notification, Listener ID)가 포함됩니다. 청취자 ID 는, 그 통지의 타겟이 되는 클라이언트 청취자를 식별합니다. 클라이언트 청취자 ID 는, 이전에 addNotificationListener 요구에의 응답으로서 연결기 서버로부터 반환된 ID 입니다.

파라미터:
notification - MBean 서버로부터 발행된 통지
listenerID - 이 통지의 타겟이 된다 청취자의 ID
예외:
IllegalArgumentException - listenerID 또는 notification 가 null 의 경우
메소드의 상세

getNotification

public Notification  getNotification()

발행된 통지

반환값:
통지

getListenerID

public Integer  getListenerID()

통지의 타겟이 되는 청취자의 ID 입니다.

반환값:
청취자 ID

toString

public String  toString()
이 Targeted Notification 의 텍스트 표현을 돌려줍니다.

오버라이드(override):
클래스 Object 내의 toString
반환값:
이 Targeted Notification 의 String 표현

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.