JavaTM Platform
Standard Ed. 6

javax.management.modelmbean
클래스 ModelMBeanConstructorInfo

java.lang.Object 
  상위를 확장 javax.management.MBeanFeatureInfo 
      상위를 확장 javax.management.MBeanConstructorInfo 
          상위를 확장 javax.management.modelmbean.ModelMBeanConstructorInfo
모든 구현된 인터페이스:
Serializable , Cloneable , DescriptorAccess , DescriptorRead


public class ModelMBeanConstructorInfo
extends MBeanConstructorInfo
implements DescriptorAccess

ModelMBeanConstructorInfo 객체는, ModelMBean 의 생성자 을 기술합니다. 이것은, 관련 Descriptor 를 가져, DescriptorAccess 인터페이스를 구현한 ModelMBeanConstructorInfo 의 서브 클래스입니다.

 기술자내의 필드는 이하와 같이 정의가 끝난 상태입니다만, 이 내용으로 한정되지 않습니다.  

name :생성자 명 descriptorType :반드시 operation role :반드시 constructor displayName :인간이 읽을 수 있는 형식의 생성자 명 visibility :1 ~ 4 의 값의 쳐 1:항상 가시 4:거의 불가시 presentationString :오퍼레이션의 표현 방법을 설명하기 위한 XML 형식의 캐릭터 라인

persistPolicy 필드와 currencyTimeLimit 필드는, 생성자 에 대해서 무의미합니다만, 무효라고도 보여지지 않습니다.

디폴트의 기술자에게는,name,descriptorType,displayName, 및 role 필드가 있습니다.

이 클래스의 serialVersionUID3862947819818064362L 입니다.

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

필드의 개요
 
클래스 javax.management. MBeanFeatureInfo 로부터 상속된 필드
description , name
 
생성자 의 개요
ModelMBeanConstructorInfo (String  description, Constructor  constructorMethod)
          디폴트의 기술자로 ModelMBeanConstructorInfo 객체를 구축합니다.
ModelMBeanConstructorInfo (String  description, Constructor  constructorMethod, Descriptor  descriptor)
          ModelMBeanConstructorInfo 객체를 구축합니다.
ModelMBeanConstructorInfo (String  name, String  description, MBeanParameterInfo [] signature)
          디폴트의 기술자로 ModelMBeanConstructorInfo 객체를 구축합니다.
ModelMBeanConstructorInfo (String  name, String  description, MBeanParameterInfo [] signature, Descriptor  descriptor)
          ModelMBeanConstructorInfo 객체를 구축합니다.
 
메소드의 개요
 Object clone ()
          이 ModelMBeanConstructorInfo 를 복제해 새로운 ModelMBeanConstructorInfo 를 작성해, 돌려줍니다.
 Descriptor getDescriptor ()
          관련 Descriptor 의 카피를 돌려줍니다.
 void setDescriptor (Descriptor  inDescriptor)
          ModelMBeanConstructorInfo 에 관련지을 수 있었던 Descriptor (완전 치환)를 설정합니다.
 String toString ()
          인간이 읽을 수 있는 형식의 ModelMBeanConstructorInfo 의 컨텐츠 전체를 포함한 캐릭터 라인을 돌려줍니다.
 
클래스 javax.management. MBeanConstructorInfo 로부터 상속된 메소드
equals , getSignature , hashCode
 
클래스 javax.management. MBeanFeatureInfo 로부터 상속된 메소드
getDescription , getName
 
클래스 java.lang. Object 로부터 상속된 메소드
finalize , getClass , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

ModelMBeanConstructorInfo

public ModelMBeanConstructorInfo(String  description,
                                 Constructor  constructorMethod)
디폴트의 기술자로 ModelMBeanConstructorInfo 객체를 구축합니다. 생성자 객체 Descriptor 에는,DescriptorKey 메타 주석을 포함한 Constructor 객체상의 주석이 기여하는 필드가 포함됩니다.

파라미터:
description - 인간이 읽을 수 있는 형식의 생성자 의 설명
constructorMethod - MBean 생성자 을 기술한다 java.lang.reflect.Constructor 객체

ModelMBeanConstructorInfo

public ModelMBeanConstructorInfo(String  description,
                                 Constructor  constructorMethod,
                                 Descriptor  descriptor)
ModelMBeanConstructorInfo 객체를 구축합니다. 생성자 객체 Descriptor 에는,DescriptorKey 메타 주석을 포함한 Constructor 객체상의 주석이 기여하는 필드가 포함됩니다.

파라미터:
description - 인간이 읽을 수 있는 형식의 생성자 의 설명
constructorMethod - MBean 생성자 을 기술한다 java.lang.reflect.Constructor 객체
descriptor - 이 ModelMBeanConstructorInfo 인스턴스용으로서 적절한 메타데이타를 포함한다 Descriptor 인스턴스. null 의 경우, 디폴트의 기술자가 작성된다. displayName 필드를 포함하지 않는 기술자에게는, 디폴트 값의 displayName 필드가 추가된다
예외:
RuntimeOperationsException - IllegalArgumentException 를 랩 하는 경우. 기술자가 무효인 경우, 기술자 필드 name 가 name 파라미터와 동일하지 않은 경우, 기술자 필드 DescriptorType 가 operation 와 동일하지 않은 경우, 또는 기술자 필드 role 가 constructor 와 동일하지 않은 경우

ModelMBeanConstructorInfo

public ModelMBeanConstructorInfo(String  name,
                                 String  description,
                                 MBeanParameterInfo [] signature)
디폴트의 기술자로 ModelMBeanConstructorInfo 객체를 구축합니다.

파라미터:
name - 생성자 의 이름
description - 인간이 읽을 수 있는 형식의 생성자 의 설명
signature - 생성자 의 파라미터 (인수)를 설명하는 MBeanParameterInfo 객체 배열

ModelMBeanConstructorInfo

public ModelMBeanConstructorInfo(String  name,
                                 String  description,
                                 MBeanParameterInfo [] signature,
                                 Descriptor  descriptor)
ModelMBeanConstructorInfo 객체를 구축합니다.

파라미터:
name - 생성자 의 이름
description - 인간이 읽을 수 있는 형식의 생성자 의 설명
signature - 생성자 의 파라미터 (인수)를 설명하는 MBeanParameterInfo 객체
descriptor - 이 MBeanConstructorInfo 인스턴스용으로서 적절한 메타데이타를 포함한다 Descriptor 인스턴스. null 의 경우, 디폴트의 기술자가 작성된다. displayName 필드를 가지지 않는 기술자에게는, displayName 필드가 디폴트 값로 추가된다
예외:
RuntimeOperationsException - IllegalArgumentException 를 랩 한다. 기술자가 무효인 경우, 기술자 필드 name 가 name 파라미터와 동일하지 않은 경우, 기술자 필드 DescriptorType 가 operation 와 동일하지 않은 경우, 또는 기술자 필드 role 가 constructor 와 동일하지 않은 경우
메소드의 상세

clone

public Object  clone()
이 ModelMBeanConstructorInfo 를 복제해 새로운 ModelMBeanConstructorInfo 를 작성해, 돌려줍니다.

오버라이드(override):
클래스 MBeanConstructorInfo 내의 clone
반환값:
이 인스턴스의 복제
관련 항목:
Cloneable

getDescriptor

public Descriptor  getDescriptor()
관련 Descriptor 의 카피를 돌려줍니다.

정의:
인터페이스 DescriptorRead 내의 getDescriptor
오버라이드(override):
클래스 MBeanFeatureInfo 내의 getDescriptor
반환값:
ModelMBeanConstructorInfo 객체에 관련지을 수 있었던 Descriptor
관련 항목:
setDescriptor(javax.management.Descriptor)

setDescriptor

public void setDescriptor(Descriptor  inDescriptor)
ModelMBeanConstructorInfo 에 관련지을 수 있었던 Descriptor (완전 치환)를 설정합니다. 새로운 Descriptor 가 null 의 경우, 관련 Descriptor 는 디폴트의 기술자에게 돌아옵니다. Descriptor 의 할당전에는, 타당성 검사를 합니다. 새로운 Descriptor 가 무효인 경우, IllegalArgumentException 를 랩 하는 RuntimeOperationsException 가 throw 됩니다.

정의:
인터페이스 DescriptorAccess 내의 setDescriptor
파라미터:
inDescriptor - ModelMBeanConstructor 에 관련지을 수 있었던 Descriptor 를 치환한다. displayName 필드를 가지지 않는 기술자에게는, displayName 필드가 디폴트 값로 추가된다
예외:
RuntimeOperationsException - IllegalArgumentException 를 랩 하는 경우. 기술자가 무효인 경우, 기술자 필드 name 가 name 파라미터와 동일하지 않은 경우, 기술자 필드 DescriptorType 가 operation 와 동일하지 않은 경우, 또는 기술자 필드 role 가 constructor 와 동일하지 않은 경우
관련 항목:
getDescriptor()

toString

public String  toString()
인간이 읽을 수 있는 형식의 ModelMBeanConstructorInfo 의 컨텐츠 전체를 포함한 캐릭터 라인을 돌려줍니다.

오버라이드(override):
클래스 MBeanConstructorInfo 내의 toString
반환값:
이 객체의 캐릭터 라인 표현

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