JavaTM Platform
Standard Ed. 6

javax.management
클래스 MBeanServerDelegate

java.lang.Object 
  상위를 확장 javax.management.MBeanServerDelegate
모든 구현된 인터페이스:
MBeanServerDelegateMBean , NotificationBroadcaster , NotificationEmitter


public class MBeanServerDelegate
extends Object
implements MBeanServerDelegateMBean , NotificationEmitter

관리의 시점에서 MBean 서버를 표현합니다. MBean 서버에 MBean 가 등록되거나 등록이 해제 되거나 하면(자), MBeanServerDelegate MBean 는 MBeanServerNotifications 를 발행합니다.

도입된 버젼:
1.5

필드의 개요
static ObjectName DELEGATE_NAME
          MBeanServerDelegate 의 디폴트 ObjectName 를 정의합니다.
 
생성자 의 개요
MBeanServerDelegate ()
          MBeanServerDelegate 객체를 작성합니다.
 
메소드의 개요
 void addNotificationListener (NotificationListener  listener, NotificationFilter  filter, Object  handback)
          이 MBean 에 청취자를 추가합니다.
 String getImplementationName ()
          JMX 구현의 이름 (이 제품의 이름)을 돌려줍니다.
 String getImplementationVendor ()
          JMX 구현의 벤더 (이 제품의 벤더)를 돌려줍니다.
 String getImplementationVersion ()
          JMX 구현의 버젼 (이 제품의 버젼)을 돌려줍니다.
 String getMBeanServerId ()
          MBean 서버 에이전트의 아이덴티티를 돌려줍니다.
 MBeanNotificationInfo [] getNotificationInfo ()
          이 MBean 가 송신할 가능성이 있는 각 통지에 대해, 그 통지의 Java 클래스명과 통지형을 나타내는 배열을 돌려줍니다.
 String getSpecificationName ()
          이 제품에 구현되고 있는 JMX 스펙의 완전명을 돌려줍니다.
 String getSpecificationVendor ()
          이 제품에 구현되고 있는 JMX 스펙의 벤더를 돌려줍니다.
 String getSpecificationVersion ()
          이 제품에 구현되고 있는 JMX 스펙의 버젼을 돌려줍니다.
 void removeNotificationListener (NotificationListener  listener)
          이 MBean 로부터 청취자를 삭제합니다.
 void removeNotificationListener (NotificationListener  listener, NotificationFilter  filter, Object  handback)
          이 MBean 로부터 청취자를 삭제합니다.
 void sendNotification (Notification  notification)
          MBean 서버로부터 통지를 송신할 수 있도록(듯이) 합니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

필드의 상세

DELEGATE_NAME

public static final ObjectName  DELEGATE_NAME
MBeanServerDelegate 의 디폴트 ObjectName 를 정의합니다.

도입된 버젼:
1.6
생성자 의 상세

MBeanServerDelegate

public MBeanServerDelegate()
MBeanServerDelegate 객체를 작성합니다.

메소드의 상세

getMBeanServerId

public String  getMBeanServerId()
MBean 서버 에이전트의 아이덴티티를 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getMBeanServerId
반환값:
아이덴티티

getSpecificationName

public String  getSpecificationName()
이 제품에 구현되고 있는 JMX 스펙의 완전명을 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getSpecificationName
반환값:
스펙명

getSpecificationVersion

public String  getSpecificationVersion()
이 제품에 구현되고 있는 JMX 스펙의 버젼을 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getSpecificationVersion
반환값:
스펙의 버젼

getSpecificationVendor

public String  getSpecificationVendor()
이 제품에 구현되고 있는 JMX 스펙의 벤더를 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getSpecificationVendor
반환값:
스펙의 벤더

getImplementationName

public String  getImplementationName()
JMX 구현의 이름 (이 제품의 이름)을 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getImplementationName
반환값:
구현명

getImplementationVersion

public String  getImplementationVersion()
JMX 구현의 버젼 (이 제품의 버젼)을 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getImplementationVersion
반환값:
구현의 버젼

getImplementationVendor

public String  getImplementationVendor()
JMX 구현의 벤더 (이 제품의 벤더)를 돌려줍니다.

정의:
인터페이스 MBeanServerDelegateMBean 내의 getImplementationVendor
반환값:
구현의 벤더

getNotificationInfo

public MBeanNotificationInfo [] getNotificationInfo()
인터페이스 NotificationBroadcaster 의 기술:

이 MBean 가 송신할 가능성이 있는 각 통지에 대해, 그 통지의 Java 클래스명과 통지형을 나타내는 배열을 돌려줍니다.

이 배열에 기술되어 있지 않은 통지를 MBean 가 송신해도, 부정하지는 않습니다. 다만 일부의 MBean 서버 클라이언트는, 올바르게 기능하기 위해서, 작성되는 배열에 의존하는 경우가 있습니다.

정의:
인터페이스 NotificationBroadcaster 내의 getNotificationInfo
반환값:
통지의 배열

addNotificationListener

public void addNotificationListener(NotificationListener  listener,
                                    NotificationFilter  filter,
                                    Object  handback)
                             throws IllegalArgumentException 
인터페이스 NotificationBroadcaster 의 기술:
이 MBean 에 청취자를 추가합니다.

정의:
인터페이스 NotificationBroadcaster 내의 addNotificationListener
파라미터:
listener - 브로드 캐스터가 발행한 통지를 처리하는 청취자 객체
filter - 필터 객체. 필터가 null 의 경우, 통지 처리전에 필터는 적용되지 않는
handback - 통지의 발행시에 청취자에게 송신된다 불투명한 객체. Notification 브로드 캐스터 객체는, 이 객체를 사용할 수 없다. 이 객체는, 손보지 않는 상태로, 통지와 함께 청취자에게 돌려 보내지지 않으면 안 된다
예외:
IllegalArgumentException - 청취자 파라미터가 null 의 경우
관련 항목:
NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)

removeNotificationListener

public void removeNotificationListener(NotificationListener  listener,
                                       NotificationFilter  filter,
                                       Object  handback)
                                throws ListenerNotFoundException 
인터페이스 NotificationEmitter 의 기술:

이 MBean 로부터 청취자를 삭제합니다. MBean 는, 지정된 listener,filter, 및 handback 파라미터와 정확하게 일치하는 청취자를 가지고 있을 필요가 있습니다. 해당하는 청취자가 복수 존재하는 경우, 그 중의 1 개(살)만이 삭제됩니다.

삭제되는 청취자내에서 null 가 지정되고 있는 경우,filterhandback 파라미터는 null 가 됩니다.

정의:
인터페이스 NotificationEmitter 내의 removeNotificationListener
파라미터:
listener - 이전에 이 MBean 에 추가되었다 청취자
filter - 청취자의 추가시로 지정되었다 필터
handback - 청취자의 추가시로 지정되었다 핸드백
예외:
ListenerNotFoundException - 청취자가 MBean 에 등록되지 않은 경우, 또는 지정된 필터 및 핸드백으로 등록되지 않은 경우

removeNotificationListener

public void removeNotificationListener(NotificationListener  listener)
                                throws ListenerNotFoundException 
인터페이스 NotificationBroadcaster 의 기술:
이 MBean 로부터 청취자를 삭제합니다. 청취자가 다른 핸드백 객체 또는 통지 필터에 등록되어 있는 경우, 이 청취자에게 대응하는 모든 엔트리가 삭제됩니다.

정의:
인터페이스 NotificationBroadcaster 내의 removeNotificationListener
파라미터:
listener - 이전에 이 MBean 에 추가되었다 청취자
예외:
ListenerNotFoundException - 청취자가 MBean 에 등록되지 않은 경우
관련 항목:
NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) , NotificationEmitter.removeNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)

sendNotification

public void sendNotification(Notification  notification)
MBean 서버로부터 통지를 송신할 수 있도록(듯이) 합니다. 순서 번호가 0 이하의 notification 가 건네받았을 경우, 위양의 고유의 순서 번호로 옮겨놓습니다.

파라미터:
notification - 송신하는 통지

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 도 참조해 주세요.