|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanOperationInfo
javax.management.modelmbean.ModelMBeanOperationInfo
public class ModelMBeanOperationInfo
ModelMBeanOperationInfo 객체는, ModelMBean 의 관리 오퍼레이션을 기술합니다. 이것은, 관련 Descriptor 를 가져, DescriptorAccess 인터페이스를 구현한 MBeanOperationInfo 의 서브 클래스입니다.
기술자내의 필드는 이하와 같이 정의가 끝난 상태입니다만, 이 내용으로 한정되지 않습니다. name :오퍼레이션명 descriptorType :반드시 operation class :메소드가 정의된 클래스 (완전 수식) role :반드시 operation, getter, 또는 setter targetObject :메소드는 이 객체에 대해서 실행된다 targetType :targetObject 의 객체 참조형. ObjectReference, Handle, EJBHandle, IOR, RMIReference 의 언젠가 value :오퍼레이션용으로서 캐쉬된 값 currencyTimeLimit :캐쉬치의 유효기간 lastUpdatedTimeStamp :캐쉬치가 설정되었을 때 각 visibility :1 ~ 4 의 값의 쳐 1:항상 가시 4:거의 불가시 presentationString :오퍼레이션의 표현 방법을 설명하기 위한 XML 형식의 캐릭터 라인디폴트의 기술자는, name, descriptorType, displayName, 및 role 필드를 설정합니다.
주: 이전의 버젼의 스펙과의 부정합이 있기 (위해)때문에,currencyTimeLimit 에는 제로 이하의 값을 사용하지 않게 해 주세요. 캐쉬에 들어간 값이 유효하지 않은 것을 나타내는 경우는,currencyTimeLimit 필드를 생략 합니다. 이 값이 항상 유효한 것을 나타내는 경우는, 이 필드에 매우 큰 값을 지정합니다.
이 클래스의 serialVersionUID 은 6532732096650090465L 입니다.
| 필드의 개요 |
|---|
| 클래스 javax.management. MBeanOperationInfo 로부터 상속된 필드 |
|---|
ACTION , ACTION_INFO , INFO , UNKNOWN |
| 클래스 javax.management. MBeanFeatureInfo 로부터 상속된 필드 |
|---|
description , name |
| 생성자 의 개요 | |
|---|---|
ModelMBeanOperationInfo (ModelMBeanOperationInfo inInfo)
이 ModelMBeanOperation 객체로부터 새로운 ModelMBeanOperationInfo 객체를 구축합니다. |
|
ModelMBeanOperationInfo (String description,
Method operationMethod)
디폴트의 기술자로 ModelMBeanOperationInfo 객체를 구축합니다. |
|
ModelMBeanOperationInfo (String description,
Method operationMethod,
Descriptor descriptor)
ModelMBeanOperationInfo 객체를 구축합니다. |
|
ModelMBeanOperationInfo (String name,
String description,
MBeanParameterInfo [] signature,
String type,
int impact)
디폴트의 기술자로 ModelMBeanOperationInfo 객체를 구축합니다. |
|
ModelMBeanOperationInfo (String name,
String description,
MBeanParameterInfo [] signature,
String type,
int impact,
Descriptor descriptor)
ModelMBeanOperationInfo 객체를 구축합니다. |
|
| 메소드의 개요 | |
|---|---|
Object |
clone ()
이 ModelMBeanOperationInfo 를 복제해 새로운 ModelMBeanOperationInfo 를 작성해, 돌려줍니다. |
Descriptor |
getDescriptor ()
ModelMBeanOperationInfo 에 관련지을 수 있었던 Descriptor 의 카피를 돌려줍니다. |
void |
setDescriptor (Descriptor inDescriptor)
ModelMBeanOperationInfo 에 관련지을 수 있었던 Descriptor (완전 치환)를 설정합니다. |
String |
toString ()
인간이 읽을 수 있는 형식의 ModelMBeanOperationInfo 의 컨텐츠 전체를 포함한 캐릭터 라인을 돌려줍니다. |
| 클래스 javax.management. MBeanOperationInfo 로부터 상속된 메소드 |
|---|
equals , getImpact , getReturnType , getSignature , hashCode |
| 클래스 javax.management. MBeanFeatureInfo 로부터 상속된 메소드 |
|---|
getDescription , getName |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
finalize , getClass , notify , notifyAll , wait , wait , wait |
| 생성자 의 상세 |
|---|
public ModelMBeanOperationInfo(String description,
Method operationMethod)
Descriptor 에는,DescriptorKey 메타 주석을 포함한 Method 객체상의 주석이 기여하는 필드가 포함됩니다.
operationMethod - MBean 오퍼레이션을 기술한다
java.lang.reflect.Method 객체description - 인간이 읽을 수 있는 형식의 오퍼레이션의 설명
public ModelMBeanOperationInfo(String description,
Method operationMethod,
Descriptor descriptor)
Descriptor 에는,DescriptorKey 메타 주석을 포함한 Method 객체상의 주석이 기여하는 필드가 포함됩니다.
operationMethod - MBean 오퍼레이션을 기술한다
java.lang.reflect.Method 객체description - 인간이 읽을 수 있는 형식의 오퍼레이션의
설명descriptor - 이 ModelMBeanOperationInfo 인스턴스용으로서
적절한 메타데이타를 포함한다
Descriptor 인스턴스. null 의 경우,
디폴트의 기술자가 작성된다. displayName 필드 또는 role 필드를 포함하지 않는 기술자에게는,
디폴트 값의 displayName 필드
또는 role 필드가 추가된다
RuntimeOperationsException - IllegalArgumentException 를
랩 한다. 기술자가 무효인 경우,
기술자 필드 name 가 오퍼레이션명으로 동일하지 않은 경우,
기술자 필드 DescriptorType 가 operation 와 동일하지 않은 경우,
또는 기술자의 옵션필드 role 가
operation, getter, 또는 setter 와 동일하지 않은 경우
public ModelMBeanOperationInfo(String name,
String description,
MBeanParameterInfo [] signature,
String type,
int impact)
name - 메소드의 이름description - 인간이 읽을 수 있는 형식의 오퍼레이션의 설명signature - 메소드의 파라미터 (인수)를 설명하는 MBeanParameterInfo 객체type - 메소드의 반환값의 형태impact - 메소드의 영향. INFO, ACTION, ACTION_INFO, UNKNOWN 의 언젠가
public ModelMBeanOperationInfo(String name,
String description,
MBeanParameterInfo [] signature,
String type,
int impact,
Descriptor descriptor)
name - 메소드의 이름description - 인간이 읽을 수 있는 형식의 오퍼레이션의 설명signature - 메소드의 파라미터 (인수)를 설명하는 MBeanParameterInfo 객체type - 메소드의 반환값의 형태impact - 메소드의 영향. INFO, ACTION, ACTION_INFO, UNKNOWN 의 어느쪽이든descriptor - 이 MBeanOperationInfo 인스턴스용으로서 적절한 메타데이타를 포함한 Descriptor 인스턴스.
null 의 경우, 디폴트의 기술자가 작성된다.
displayName 필드 또는 role 필드를 포함하지 않는 기술자에게는,
디폴트 값의 displayName 필드 또는 role 필드가 추가된다
RuntimeOperationsException - IllegalArgumentException 를
랩 한다. 기술자가 무효인 경우,
기술자 필드 name 가 오퍼레이션명으로 동일하지 않은 경우,
기술자 필드 DescriptorType 가 operation 와 동일하지 않은 경우,
또는 기술자의 옵션필드 role 가
operation, getter, 또는 setter 와 동일하지 않은 경우public ModelMBeanOperationInfo(ModelMBeanOperationInfo inInfo)
inInfo - 복제되는 ModelMBeanOperationInfo| 메소드의 상세 |
|---|
public Object clone()
MBeanOperationInfo 내의 clone Cloneable public Descriptor getDescriptor()
DescriptorRead 내의 getDescriptor MBeanFeatureInfo 내의 getDescriptor setDescriptor(javax.management.Descriptor) public void setDescriptor(Descriptor inDescriptor)
DescriptorAccess 내의 setDescriptor inDescriptor - ModelMBeanOperation 에 관련지을 수 있었던 Descriptor 를
치환한다
RuntimeOperationsException - 무효인 Descriptor 의
IllegalArgumentException 를 랩 하는getDescriptor() public String toString()
MBeanOperationInfo 내의 toString
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.