|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.management.MBeanInfo
javax.management.openmbean.OpenMBeanInfoSupport
public class OpenMBeanInfoSupport
OpenMBeanInfoSupport
클래스는, 「공개 MBean」의 관리 정보를 기술합니다. 이것은,MBeanInfo
의 서브 클래스이며,OpenMBeanInfo
인터페이스를 구현합니다. 「공개 MBean」의 getMBeanInfo()
메소드는, OpenMBeanInfo 인터페이스를 구현하는 클래스의 인스턴스 (일반적으로 OpenMBeanInfoSupport
)를 돌려주게 되어 있습니다.
생성자 의 개요 | |
---|---|
OpenMBeanInfoSupport (String className,
String description,
OpenMBeanAttributeInfo [] openAttributes,
OpenMBeanConstructorInfo [] openConstructors,
OpenMBeanOperationInfo [] openOperations,
MBeanNotificationInfo [] notifications)
지정한 className ,description ,openAttributes ,openConstructors ,openOperations , 및 notifications 를 사용해 공개 MBean 의 클래스의 생성자 을 기술하는 OpenMBeanInfoSupport 인스턴스를 구축합니다. |
|
OpenMBeanInfoSupport (String className,
String description,
OpenMBeanAttributeInfo [] openAttributes,
OpenMBeanConstructorInfo [] openConstructors,
OpenMBeanOperationInfo [] openOperations,
MBeanNotificationInfo [] notifications,
Descriptor descriptor)
지정한 className ,description ,openAttributes ,openConstructors ,openOperations ,notifications , 및 descriptor 를 사용해 공개 MBean 의 클래스의 생성자 을 기술하는 OpenMBeanInfoSupport 인스턴스를 구축합니다. |
메소드의 개요 | |
---|---|
boolean |
equals (Object obj)
지정된 obj 파라미터와 이 OpenMBeanInfoSupport 인스턴스가 동일한지 어떤지를 비교합니다. |
int |
hashCode ()
이 OpenMBeanInfoSupport 인스턴스의 해시 코드값를 돌려줍니다. |
String |
toString ()
이 OpenMBeanInfoSupport 인스턴스의 캐릭터 라인 표현을 돌려줍니다. |
클래스 javax.management. MBeanInfo 로부터 상속된 메소드 |
---|
clone , getAttributes , getClassName , getConstructors , getDescription , getDescriptor , getNotifications , getOperations |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
finalize , getClass , notify , notifyAll , wait , wait , wait |
인터페이스 javax.management.openmbean. OpenMBeanInfo 로부터 상속된 메소드 |
---|
getAttributes , getClassName , getConstructors , getDescription , getNotifications , getOperations |
생성자 의 상세 |
---|
public OpenMBeanInfoSupport(String className, String description, OpenMBeanAttributeInfo [] openAttributes, OpenMBeanConstructorInfo [] openConstructors, OpenMBeanOperationInfo [] openOperations, MBeanNotificationInfo [] notifications)
지정한 className
,description
,openAttributes
,openConstructors
,openOperations
, 및 notifications
를 사용해 공개 MBean 의 클래스의 생성자 을 기술하는 OpenMBeanInfoSupport
인스턴스를 구축합니다.
openAttributes
,openConstructors
,openOperations
, 및 notifications
배열 파라미터는, 이러한 파라미터를 사용해 참조되는 그 후의 배열의 변경이 이 인스턴스에 영향을 미치지 않게, 내부에서 카피됩니다.
className
- 이
OpenMBeanInfoSupport
인스턴스에 의해 기술된 공개 MBean 의
완전 수식 Java 클래스명description
- 이
OpenMBeanInfoSupport
인스턴스에 의해 기술된 공개 MBean 에 관한
인간이 읽을 수 있는 형식의 설명openAttributes
- 기술된 공개 MBean 의
공개 속성의 리스트.
MBeanAttributeInfo
의 서브 클래스 (일반적으로 OpenMBeanAttributeInfoSupport
)의 인스턴스의 배열이 아니면 안되는openConstructors
- 기술된 공개 MBean 의
공개 public 생성자 의 리스트.
MBeanConstructorInfo
의 서브 클래스 (일반적으로 OpenMBeanConstructorInfoSupport
)의 인스턴스의 배열이 아니면 안되는openOperations
- 기술된 공개 MBean 의
공개 오퍼레이션의 리스트. MBeanOperationInfo
의 서브 클래스
(일반적으로 OpenMBeanOperationInfoSupport
)의 인스턴스의 배열이 아니면 안되는notifications
- 기술된 공개 MBean 로부터 발행되었다
통지의 리스트
ArrayStoreException
- openAttributes
,openConstructors
,openOperations
가, 각각
MBeanAttributeInfo
,MBeanConstructorInfo
,MBeanOperationInfo
의 서브 클래스의
인스턴스의 배열이 아닌 경우public OpenMBeanInfoSupport(String className, String description, OpenMBeanAttributeInfo [] openAttributes, OpenMBeanConstructorInfo [] openConstructors, OpenMBeanOperationInfo [] openOperations, MBeanNotificationInfo [] notifications, Descriptor descriptor)
지정한 className
,description
,openAttributes
,openConstructors
,openOperations
,notifications
, 및 descriptor
를 사용해 공개 MBean 의 클래스의 생성자 을 기술하는 OpenMBeanInfoSupport
인스턴스를 구축합니다.
openAttributes
,openConstructors
,openOperations
, 및 notifications
배열 파라미터는, 이러한 파라미터를 사용해 참조되는 그 후의 배열의 변경이 이 인스턴스에 영향을 미치지 않게, 내부에서 카피됩니다.
className
- 이
OpenMBeanInfoSupport
인스턴스에 의해 기술된 공개 MBean 의
완전 수식 Java 클래스명description
- 이
OpenMBeanInfoSupport
인스턴스에 의해 기술된 공개 MBean 에 관한
인간이 읽을 수 있는 형식의 설명openAttributes
- 기술된 공개 MBean 의
공개 속성의 리스트.
MBeanAttributeInfo
의 서브 클래스 (일반적으로 OpenMBeanAttributeInfoSupport
)의 인스턴스의 배열이 아니면 안되는openConstructors
- 기술된 공개 MBean 의
공개 public 생성자 의 리스트.
MBeanConstructorInfo
의 서브 클래스 (일반적으로 OpenMBeanConstructorInfoSupport
)의 인스턴스의 배열이 아니면 안되는openOperations
- 기술된 공개 MBean 의
공개 오퍼레이션의 리스트. MBeanOperationInfo
의 서브 클래스
(일반적으로 OpenMBeanOperationInfoSupport
)의 인스턴스의 배열이 아니면 안되는notifications
- 기술된 공개 MBean 로부터 발행되었다
통지의 리스트. descriptor
- MBean 의 기술자. null 의 경우가 있어,
이것은 빈 상태(empty)의 기술자와 동등
ArrayStoreException
- openAttributes
,openConstructors
,openOperations
가, 각각
MBeanAttributeInfo
,MBeanConstructorInfo
,MBeanOperationInfo
의 서브 클래스의
인스턴스의 배열이 아닌 경우메소드의 상세 |
---|
public boolean equals(Object obj)
지정된 obj
파라미터와 이 OpenMBeanInfoSupport
인스턴스가 동일한지 어떤지를 비교합니다.
다음의 모든 조건이 채워지고 있는 경우에 한정해,true
를 돌려줍니다.
obj
가 null 가 아니다obj
가 OpenMBeanInfo
인터페이스도 구현한다equals
메소드는,OpenMBeanInfo
인터페이스가 다른 구현인 obj
파라미터에 대해서 정상적으로 동작합니다.
OpenMBeanInfo
내의 equals
MBeanInfo
내의 equals
obj
- 이
OpenMBeanInfoSupport
인스턴스와 동일한지 어떤지를 비교하는 객체
OpenMBeanInfoSupport
인스턴스와 동일한 경우는 true
Object.hashCode()
,
Hashtable
public int hashCode()
이 OpenMBeanInfoSupport
인스턴스의 해시 코드값를 돌려줍니다.
OpenMBeanInfoSupport
인스턴스의 해시 코드는,equals
의 비교로 사용된 모든 정보 요소 (클래스명과 속성, 생성자 , 오퍼레이션, 및 통지에 관한 정보. 개개의 배열의 hashCode 는 new java.util.HashSet(java.util.Arrays.asList(this.getSignature)). hashCode()
의 호출에 의해 계산된다)의 해시 코드의 합계입니다.
이것에 의해,Object.hashCode()
메소드의 일반 규약에 의해 요구되는, 임의의 2 개의 OpenMBeanInfoSupport
인스턴스 t1
와 t2
로,t1.equals(t2)
이면 t1.hashCode() ==t2.hashCode()
가 되는 것이 보증됩니다.
OpenMBeanInfo
인터페이스를 구현하는 다른 클래스 인스턴스가,equals(java.lang.Object)
로 정의되고 있도록(듯이), 이 OpenMBeanInfoSupport
인스턴스와 동일해지는 경우도 있습니다. 그러나, 계산방법이 차이가 나기 (위해)때문에, 해시 코드도 차이가 날 가능성이 있습니다.
OpenMBeanInfoSupport
인스턴스는 불변으로, 이 인스턴스의 해시 코드는,hashCode
의 최초의 호출시에 1 회만 계산됩니다. 그 후의 호출에는, 같은 값이 돌려주어집니다.
OpenMBeanInfo
내의 hashCode
MBeanInfo
내의 hashCode
OpenMBeanInfoSupport
인스턴스의 해시 코드값Object.equals(java.lang.Object)
,
Hashtable
public String toString()
이 OpenMBeanInfoSupport
인스턴스의 캐릭터 라인 표현을 돌려줍니다.
이 캐릭터 라인 표현은, 이 클래스의 이름 (javax.management.openmbean.OpenMBeanInfoSupport
), MBean 클래스명, 기술된 MBean 의 속성, 생성자 , 오퍼레이션, 및 통지에 관한 정보의 캐릭터 라인 표현, 및 기술자의 캐릭터 라인 표현으로 구성됩니다.
OpenMBeanInfoSupport
인스턴스는 불변으로, 이 인스턴스의 캐릭터 라인 표현은,toString
의 최초의 호출시에 1 회만 계산됩니다. 그 후의 호출에는, 같은 값이 돌려주어집니다.
OpenMBeanInfo
내의 toString
MBeanInfo
내의 toString
OpenMBeanInfoSupport
인스턴스의 캐릭터 라인 표현
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.