JavaTM Platform
Standard Ed. 6

javax.management
클래스 QueryEval

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


public abstract class QueryEval
extends Object
implements Serializable

특정의 MBean 서버의 문맥으로 쿼리를 실행합니다.

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

생성자 의 개요
QueryEval ()
           
 
메소드의 개요
static MBeanServer getMBeanServer ()
          이 thread에 의해, 제일 최근 setMBeanServer 메소드에게 건네진 MBean 서버를 돌려줍니다.
 void setMBeanServer (MBeanServer  s)
          쿼리가 실행되는 MBean 서버를 설정합니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

QueryEval

public QueryEval()
메소드의 상세

setMBeanServer

public void setMBeanServer(MBeanServer  s)

쿼리가 실행되는 MBean 서버를 설정합니다. 이 설정은, 세트를 실행하는 thread에 대해서 유효합니다. thread의 작성시에 그 thread에 의해 작성된 모든 thread에 카피됩니다.

역사적인 이유로써, 이 메소드는 static 가 아닙니다만, 그 동작은, 메소드가 불려 가는 인스턴스에 의존하지 않습니다.

파라미터:
s - 쿼리가 실행되는 MBean 서버
관련 항목:
getMBeanServer()

getMBeanServer

public static MBeanServer  getMBeanServer()

이 thread에 의해, 제일 최근 setMBeanServer 메소드에게 건네진 MBean 서버를 돌려줍니다. 이 thread가 그 메소드를 호출했던 적이 없는 경우, 이 thread의 작성시에 getMBeanServer 로부터 친thread의 값을 가져옵니다. 친thread가 없는 경우는 null 입니다.

반환값:
MBean 서버
관련 항목:
setMBeanServer(javax.management.MBeanServer)

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