|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.management.NotificationFilterSupport
javax.management.relation.MBeanServerNotificationFilter
public class MBeanServerNotificationFilter
MBeanServerNotification
의 필터입니다. ObjectName 와 오퍼레이션 (등록, 등록 해제, 또는 그 양쪽 모두)을 선택해, MBeanServerNotification 통지를 필터링 합니다.
이 클래스의 serialVersionUID 는 2605900539589789736L
입니다.
생성자 의 개요 | |
---|---|
MBeanServerNotificationFilter ()
모든 ObjectName 에 대해서, 모든 MBeanServerNotification 통지를 선택하는 필터를 작성합니다. |
메소드의 개요 | |
---|---|
void |
disableAllObjectNames ()
모든 ObjectName 의 선택을 해제해, MBeanServerNotification 를 무효로 합니다. |
void |
disableObjectName (ObjectName objectName)
지정된 ObjectName 에 대해서, MBeanServerNotification 를 무효로 합니다. |
void |
enableAllObjectNames ()
모든 ObjectName 를 선택해, 모든 MBeanServerNotification 를 유효하게 합니다. |
void |
enableObjectName (ObjectName objectName)
지정된 ObjectName 에 대해서, MBeanServerNotification 를 유효하게 합니다. |
Vector <ObjectName > |
getDisabledObjectNames ()
무효인 모든 ObjectName 를 가져옵니다. |
Vector <ObjectName > |
getEnabledObjectNames ()
유효한 모든 ObjectName 를 가져옵니다. |
boolean |
isNotificationEnabled (Notification notif)
청취자에게로의 특정의 통지의 송신전에 불려 갑니다. |
클래스 javax.management. NotificationFilterSupport 로부터 상속된 메소드 |
---|
disableAllTypes , disableType , enableType , getEnabledTypes |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public MBeanServerNotificationFilter()
메소드의 상세 |
---|
public void disableAllObjectNames()
public void disableObjectName(ObjectName objectName) throws IllegalArgumentException
objectName
- 대상외가 된 ObjectName
IllegalArgumentException
- 지정된 ObjectName 가 null 의 경우public void enableAllObjectNames()
public void enableObjectName(ObjectName objectName) throws IllegalArgumentException
objectName
- 대상이 되는 ObjectName
IllegalArgumentException
- 지정된 ObjectName 가 null 의 경우public Vector <ObjectName > getEnabledObjectNames()
- null 의 경우, 명시적으로 선택 해제된 것을 제외한다 모든 ObjectName 가 암묵적으로 선택된다
- 빈 상태(empty)의 경우, 모든 ObjectName 의 선택이 해제된다. 즉 선택되고 있는 ObjectName 는 없어진다
public Vector <ObjectName > getDisabledObjectNames()
- null 의 경우, 명시적으로 선택된 것을 제외한다 모든 ObjectName 가 암묵적으로 선택 해제된다
- 빈 상태(empty)의 경우, 모든 ObjectName 가 선택된다. 즉 선택 해제되고 있는 ObjectName 는 없어진다
public boolean isNotificationEnabled(Notification notif) throws IllegalArgumentException
다음의 조건이 성립하는 경우:
- 문제의 MBean 의 ObjectName 가 선택 (명시적으로, 혹은 암묵적으로 (즉 명시적으로 선택 해제되어 있지 않다)) 되고 있는 경우
한편
- 오퍼레이션 (등록 또는 등록 해제)의 형태가 선택되고 있는 경우
청취자에게 통지가 송신됩니다.
NotificationFilter
내의 isNotificationEnabled
NotificationFilterSupport
내의 isNotificationEnabled
notif
- 송신되는 통지
IllegalArgumentException
- 파라미터가 null 의 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.