|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanAttributeInfo
javax.management.modelmbean.ModelMBeanAttributeInfo
public class ModelMBeanAttributeInfo
ModelMBeanAttributeInfo 객체는, ModelMBean 의 속성을 기술합니다. 이것은, 관련 Descriptor 를 가져, DescriptorAccess 인터페이스를 구현한 MBeanAttributeInfo 의 서브 클래스입니다.
기술자내의 필드는 이하와 같이 정의가 끝난 상태입니다만, 이 내용으로 한정되지 않습니다.
name :속성명
descriptorType :반드시 attribute
value :속성의 현재의 값
default:속성의 디폴트 값
displayName :디스플레이로 사용되는 속성의 이름
getMethod :취득 메소드의 오퍼레이션 기술자의 이름
setMethod :설정 메소드의 오퍼레이션 기술자의 이름
protocolMap :Descriptor 를 구현하는 객체 interface:속성에 적절한 매핑이 아니면 안된다.
엔트리는 실행시에 갱신 또는 추가 가능
persistPolicy :OnUpdate, OnTimer, NoMoreOftenThan, OnUnregister, Always, Never
persistPeriod :지속 사이클의 빈도를 나타내는 초수. persistPolicy 가 OnTimer 또는 NoMoreOftenThan 때 사용
currencyTimeLimit :치의 유효기간. <0 무효,=0 항상 유효, >0 초
lastUpdatedTimeStamp :치가 설정되었을 때 각
visibility :1 ~ 4 의 값의 쳐 1:항상 가시 4:거의 불가시
presentationString :데이터 표현을 가능하게하기 위한 XML 형식의 캐릭터 라인
디폴트의 기술자에게는, name, descriptorType, 및 displayName 필드가 포함됩니다.
주: 이전의 버젼의 스펙과의 부정합이 있기 (위해)때문에,currencyTimeLimit 에는 제로 이하의 값을 사용하지 않게 해 주세요. 캐쉬에 들어간 값이 유효하지 않은 것을 나타내고 싶은 경우는,currencyTimeLimit 필드를 생략 합니다. 이 값이 항상 유효한 것을 나타내고 싶은 경우는, 이 필드에 매우 큰 값을 지정합니다.
이 클래스의 serialVersionUID 은 6181543027787327345L 입니다.
| 필드의 개요 |
|---|
| 클래스 javax.management. MBeanFeatureInfo 로부터 상속된 필드 |
|---|
description , name |
| 생성자 의 개요 | |
|---|---|
ModelMBeanAttributeInfo (ModelMBeanAttributeInfo inInfo)
이 ModelMBeanAttributeInfo Object 로부터 새로운 ModelMBeanAttributeInfo 객체를 구축합니다. |
|
ModelMBeanAttributeInfo (String name,
String description,
Method getter,
Method setter)
디폴트의 기술자로 ModelMBeanAttributeInfo 객체를 구축합니다. |
|
ModelMBeanAttributeInfo (String name,
String description,
Method getter,
Method setter,
Descriptor descriptor)
ModelMBeanAttributeInfo 객체를 구축합니다. |
|
ModelMBeanAttributeInfo (String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
디폴트의 기술자로 ModelMBeanAttributeInfo 객체를 구축합니다. |
|
ModelMBeanAttributeInfo (String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
디폴트의 기술자로 ModelMBeanAttributeInfo 객체를 구축합니다. |
|
| 메소드의 개요 | |
|---|---|
Object |
clone ()
이 ModelMBeanAttributeInfo 를 복제해 새로운 ModelMBeanAttributeInfo 를 작성해, 돌려줍니다. |
Descriptor |
getDescriptor ()
ModelMBeanAttributeInfo 에 관련지을 수 있었던 Descriptor 의 카피를 가져옵니다. |
void |
setDescriptor (Descriptor inDescriptor)
ModelMBeanAttributeDescriptor 에 관련지을 수 있었던 Descriptor (완전 치환)를 설정합니다. |
String |
toString ()
인간이 읽을 수 있는 형식의 ModelMBeanAttributeInfo 인스턴스를 돌려줍니다. |
| 클래스 javax.management. MBeanAttributeInfo 로부터 상속된 메소드 |
|---|
equals , getType , hashCode , isIs , isReadable , isWritable |
| 클래스 javax.management. MBeanFeatureInfo 로부터 상속된 메소드 |
|---|
getDescription , getName |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
finalize , getClass , notify , notifyAll , wait , wait , wait |
| 생성자 의 상세 |
|---|
public ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
throws IntrospectionException
Descriptor 에는,DescriptorKey 메타 주석을 포함한 Method 객체상의 주석이 기여하는 필드가 포함됩니다.
name - 속성의 이름description - 인간이 읽을 수 있는 형식의 속성의 설명 생략 가능getter - 속성치의 읽어들여에 사용하는 메소드.
속성이 기입해 전용의 경우는 nullsetter - 속성치의 기입해에 사용하는 메소드.
속성이 읽어내 전용의 경우는 null
IntrospectionException - 이 속성의 정의에 무결성의 문제가 있는 경우
public ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter,
Descriptor descriptor)
throws IntrospectionException
Descriptor 에는,DescriptorKey 메타 주석을 포함한 Method 객체상의 주석이 기여하는 필드가 포함됩니다.
name - 속성의 이름description - 인간이 읽을 수 있는 형식의 속성의 설명 생략 가능getter - 속성치의 읽어들여에 사용하는 메소드.
속성이 기입해 전용의 경우는 nullsetter - 속성치의 기입해에 사용하는 메소드.
속성이 읽어내 전용의 경우는 nulldescriptor - 이 Attribute 인스턴스용으로서 적절한 메타데이타를 포함한다
Descriptor 인스턴스. null 의 경우, 디폴트의 기술자가 작성된다.
displayName 필드를 가지지 않는 기술자에게는, displayName 필드가 디폴트 값로 추가된다
IntrospectionException - 이 속성의 정의에 무결성의 문제가 있는 경우
RuntimeOperationsException - IllegalArgumentException 를 랩 한다. 기술자가 무효인 경우, 기술자 필드 name 가
name 파라미터와 동일하지 않은 경우, 또는 기술자 필드 DescriptorType 가 attribute 와 동일하지 않은 경우
public ModelMBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
name - 속성의 이름type - 속성의 형태 또는 클래스명description - 인간이 읽을 수 있는 형식의 속성의 설명isReadable - 속성이 취득 메소드를 가지는 경우는 true, 그렇지 않은 경우는 falseisWritable - 속성이 설정 메소드를 가지는 경우는 true, 그렇지 않은 경우는 falseisIs - 속성이 is 취득 메소드를 가지는 경우는 true, 그렇지 않은 경우는 false
public ModelMBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
name - 속성의 이름type - 속성의 형태 또는 클래스명description - 인간이 읽을 수 있는 형식의 속성의 설명isReadable - 속성이 취득 메소드를 가지는 경우는 true, 그렇지 않은 경우는 falseisWritable - 속성이 설정 메소드를 가지는 경우는 true, 그렇지 않은 경우는 falseisIs - 속성이 is 취득 메소드를 가지는 경우는 true, 그렇지 않은 경우는 falsedescriptor - 이 Attribute 인스턴스용으로서 적절한 메타데이타를 포함한다
Descriptor 인스턴스. null 의 경우, 디폴트의 기술자가 작성된다.
displayName 필드를 가지지 않는 기술자에게는, displayName 필드가 디폴트 값로 추가된다
RuntimeOperationsException - IllegalArgumentException 를 랩 한다. 기술자가 무효인 경우, 기술자 필드 name 가
name 파라미터와 동일하지 않은 경우, 또는 기술자 필드 DescriptorType 가 attribute 와 동일하지 않은 경우public ModelMBeanAttributeInfo(ModelMBeanAttributeInfo inInfo)
inInfo - 복제되는 ModelMBeanAttributeInfo| 메소드의 상세 |
|---|
public Descriptor getDescriptor()
DescriptorRead 내의 getDescriptor MBeanFeatureInfo 내의 getDescriptor setDescriptor(javax.management.Descriptor) public void setDescriptor(Descriptor inDescriptor)
DescriptorAccess 내의 setDescriptor inDescriptor - ModelMBeanAttributeInfo 에 관련지을 수 있었던 Descriptor 를
치환한다
RuntimeOperationsException - 무효인 Descriptor 의
IllegalArgumentException 를 랩 하는getDescriptor() public Object clone()
MBeanAttributeInfo 내의 clone RuntimeOperationsException - 필드명 또는 필드치가 부정한 경우.
하등의 이유로써 기술자의 작성에 실패했을 경우, 이 예외가 throw 되는Cloneable public String toString()
MBeanAttributeInfo 내의 toString
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.