|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.management.MBeanServerDelegate
public class MBeanServerDelegate
관리의 시점에서 MBean 서버를 표현합니다. MBean 서버에 MBean 가 등록되거나 등록이 해제 되거나 하면(자), MBeanServerDelegate MBean 는 MBeanServerNotifications 를 발행합니다.
필드의 개요 | |
---|---|
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 |
필드의 상세 |
---|
public static final ObjectName DELEGATE_NAME
생성자 의 상세 |
---|
public MBeanServerDelegate()
메소드의 상세 |
---|
public String getMBeanServerId()
MBeanServerDelegateMBean
내의 getMBeanServerId
public String getSpecificationName()
MBeanServerDelegateMBean
내의 getSpecificationName
public String getSpecificationVersion()
MBeanServerDelegateMBean
내의 getSpecificationVersion
public String getSpecificationVendor()
MBeanServerDelegateMBean
내의 getSpecificationVendor
public String getImplementationName()
MBeanServerDelegateMBean
내의 getImplementationName
public String getImplementationVersion()
MBeanServerDelegateMBean
내의 getImplementationVersion
public String getImplementationVendor()
MBeanServerDelegateMBean
내의 getImplementationVendor
public MBeanNotificationInfo [] getNotificationInfo()
NotificationBroadcaster
의 기술:이 MBean 가 송신할 가능성이 있는 각 통지에 대해, 그 통지의 Java 클래스명과 통지형을 나타내는 배열을 돌려줍니다.
이 배열에 기술되어 있지 않은 통지를 MBean 가 송신해도, 부정하지는 않습니다. 다만 일부의 MBean 서버 클라이언트는, 올바르게 기능하기 위해서, 작성되는 배열에 의존하는 경우가 있습니다.
NotificationBroadcaster
내의 getNotificationInfo
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
NotificationBroadcaster
의 기술:
NotificationBroadcaster
내의 addNotificationListener
listener
- 브로드 캐스터가 발행한 통지를
처리하는 청취자 객체filter
- 필터 객체. 필터가 null 의 경우,
통지 처리전에 필터는 적용되지 않는handback
- 통지의 발행시에 청취자에게 송신된다
불투명한 객체. Notification 브로드 캐스터 객체는,
이 객체를 사용할 수 없다. 이 객체는, 손보지 않는 상태로,
통지와 함께 청취자에게 돌려 보내지지 않으면 안 된다
IllegalArgumentException
- 청취자 파라미터가 null 의 경우NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
NotificationEmitter
의 기술:이 MBean 로부터 청취자를 삭제합니다. MBean 는, 지정된 listener
,filter
, 및 handback
파라미터와 정확하게 일치하는 청취자를 가지고 있을 필요가 있습니다. 해당하는 청취자가 복수 존재하는 경우, 그 중의 1 개(살)만이 삭제됩니다.
삭제되는 청취자내에서 null 가 지정되고 있는 경우,filter
및 handback
파라미터는 null 가 됩니다.
NotificationEmitter
내의 removeNotificationListener
listener
- 이전에 이 MBean 에 추가되었다
청취자filter
- 청취자의 추가시로 지정되었다
필터handback
- 청취자의 추가시로 지정되었다
핸드백
ListenerNotFoundException
- 청취자가 MBean 에
등록되지 않은 경우, 또는 지정된 필터 및 핸드백으로
등록되지 않은 경우public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
NotificationBroadcaster
의 기술:
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)
public void sendNotification(Notification notification)
notification
- 송신하는 통지
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.