|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.beans.beancontext.BeanContextChildSupport
public class BeanContextChildSupport
BeanContextChild 프로토콜의 구현을 지원하기 위한 일반적인 지원 클래스입니다. 이 클래스는, 직접 서브 클래스화 되든가, 혹은 캡슐화되어 위양 되는 것으로, 지정된 컴퍼넌트용으로서 이 인터페이스를 구현합니다.
BeanContext
,
BeanContextServices
,
BeanContextChild
,
직렬화 된 형식 필드의 개요 | |
---|---|
protected BeanContext |
beanContext
|
BeanContextChild |
beanContextChildPeer
이 BeanContextChild 가 상자가 되는 BeanContext 입니다. |
protected PropertyChangeSupport |
pcSupport
이 BeanContextChildSupport 에 관련한 PropertyChangeSupport 입니다. |
protected boolean |
rejectedSetBCOnce
setBeanContext 조작에 대해서 throw 된 PropertyChangeVetoException 가 적어도 1 개 있는 것을 나타내는 플래그입니다. |
protected VetoableChangeSupport |
vcSupport
이 BeanContextChildSupport 에 관련한 VetoableChangeSupport 입니다. |
생성자 의 개요 | |
---|---|
BeanContextChildSupport ()
JavaBean 컴퍼넌트 자체를 구현하기 위해서, 이 클래스의 서브 클래스화를 한 BeanContextChildSupport 를 구축합니다. |
|
BeanContextChildSupport (BeanContextChild bcc)
JavaBean 컴퍼넌트 자체가 BeanContextChild 를 구현해, 이것을 캡슐화하고 있는 BeanContextChildSupport 를 구축합니다. |
메소드의 개요 | |
---|---|
void |
addPropertyChangeListener (String name,
PropertyChangeListener pcl)
특정의 프로퍼티의 PropertyChangeListener 를 추가합니다. |
void |
addVetoableChangeListener (String name,
VetoableChangeListener vcl)
특정의 프로퍼티의 VetoableChangeListener 를 추가합니다. |
void |
firePropertyChange (String name,
Object oldValue,
Object newValue)
등록되어 모든 청취자에게 바운드 프로퍼티의 갱신을 통지합니다. |
void |
fireVetoableChange (String name,
Object oldValue,
Object newValue)
등록되어 모든 청취자에게 거부 가능 프로퍼티의 갱신을 통지합니다. |
BeanContext |
getBeanContext ()
이 BeanContextChildSupport 의 BeanContext 를 가져옵니다. |
BeanContextChild |
getBeanContextChildPeer ()
이 BeanContextChildSupport 에 관련한 BeanContextChild 를 가져옵니다. |
protected void |
initializeBeanContextResources ()
이 메소드는, 독자적인 초기화 동작을 제공하기 위해서 서브 클래스에 의해 오버라이드(override) 되는 일이 있습니다. |
boolean |
isDelegated ()
이 클래스가 다른 클래스의 위양일지 어떨지를 보고합니다. |
protected void |
releaseBeanContextResources ()
이 메소드는, 독자적인 해제 동작을 제공하기 위해서 서브 클래스에 의해 오버라이드(override) 되는 일이 있습니다. |
void |
removePropertyChangeListener (String name,
PropertyChangeListener pcl)
특정의 프로퍼티의 PropertyChangeListener 를 삭제합니다. |
void |
removeVetoableChangeListener (String name,
VetoableChangeListener vcl)
VetoableChangeListener 를 삭제합니다. |
void |
serviceAvailable (BeanContextServiceAvailableEvent bcsae)
상자가 되어 있는 BeanContext 로부터 새로운 서비스를 사용할 수 있습니다. |
void |
serviceRevoked (BeanContextServiceRevokedEvent bcsre)
상자가 되어 있는 BeanContext 에 의해 제공되는 서비스가 무효가 되어 있습니다. |
void |
setBeanContext (BeanContext bc)
이 BeanContextChildSupport 의 BeanContext 를 설정합니다. |
boolean |
validatePendingSetBeanContext (BeanContext newValue)
상자가 되어 있는 BeanContext 프로퍼티치의 보류중의 변경을 검증하는 등의 목적으로 setBeanContext 로부터 불려 갑니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
public BeanContextChild beanContextChildPeer
BeanContextChild
가 상자가 되는 BeanContext
입니다.
protected PropertyChangeSupport pcSupport
protected VetoableChangeSupport vcSupport
protected transient BeanContext beanContext
protected transient boolean rejectedSetBCOnce
PropertyChangeVetoException
가 적어도 1 개 있는 것을 나타내는 플래그입니다.
생성자 의 상세 |
---|
public BeanContextChildSupport()
public BeanContextChildSupport(BeanContextChild bcc)
메소드의 상세 |
---|
public void setBeanContext(BeanContext bc) throws PropertyVetoException
BeanContextChildSupport
의 BeanContext
를 설정합니다.
BeanContextChild
내의 setBeanContext
bc
- BeanContext
프로퍼티에 할당한다
새로운 값
PropertyVetoException
- 변경이 거부되었을 경우
PropertyVetoException
public BeanContext getBeanContext()
BeanContextChildSupport
의 BeanContext
를 가져옵니다.
BeanContextChild
내의 getBeanContext
BeanContextChildSupport
의
상자가 되어 있는 BeanContext
public void addPropertyChangeListener(String name, PropertyChangeListener pcl)
name
또는 pcl
가 null 의 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다.
BeanContextChild
내의 addPropertyChangeListener
name
- 대기하고 있는 프로퍼티의 이름pcl
- 추가하는 PropertyChangeListener
public void removePropertyChangeListener(String name, PropertyChangeListener pcl)
pcl
가 2 회 이상 추가되었을 경우는, 삭제된 뒤에, 추가된 회수보다 1 회 적은 통지를 합니다. name
가 null 의 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다. pcl
가 null 의 경우, 또는 지정된 프로퍼티에 추가되지 않았던 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다.
BeanContextChild
내의 removePropertyChangeListener
name
- 대기하고 있던 프로퍼티의 이름pcl
- 삭제하는 PropertyChangeListenerpublic void addVetoableChangeListener(String name, VetoableChangeListener vcl)
name
또는 vcl
가 null 의 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다.
BeanContextChild
내의 addVetoableChangeListener
name
- 대기하고 있는 프로퍼티의 이름vcl
- 추가되는 VetoableChangeListener
public void removeVetoableChangeListener(String name, VetoableChangeListener vcl)
VetoableChangeListener
를 삭제합니다. 지정한 프로퍼티의 같은 이벤트 소스에 pcl
가 2 회 이상 추가되었을 경우는, 삭제된 뒤에, 추가된 회수보다 1 회 적은 통지를 합니다. name
가 null 의 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다. vcl
가 null 의 경우, 또는 지정된 프로퍼티에 추가되지 않았던 경우는, 예외는 throw 되지 않고, 아무것도 처리는 행해지지 않습니다.
BeanContextChild
내의 removeVetoableChangeListener
name
- 대기하고 있던 프로퍼티의 이름vcl
- 삭제되는 VetoableChangeListener
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
BeanContextServiceRevokedListener
내의 serviceRevoked
bcsre
- 서비스의 취소에 의해 트리거되었다
BeanContextServiceRevokedEvent
public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
BeanContextServicesListener
내의 serviceAvailable
bcsae
- 서비스가 사용 가능하게 되었기 때문에 트리거되었다
BeanContextServiceAvailableEventpublic BeanContextChild getBeanContextChildPeer()
public boolean isDelegated()
public void firePropertyChange(String name, Object oldValue, Object newValue)
name
- 변경된 프로퍼티의 프로그램명oldValue
- 낡은 프로퍼티치newValue
- 새로운 프로퍼티치public void fireVetoableChange(String name, Object oldValue, Object newValue) throws PropertyVetoException
낡은 값과 새로운 값이 동일하고, null 가 아닌 경우, 이벤트는 트리거되지 않습니다.
name
- 변경되는 프로퍼티의
프로그램명oldValue
- 낡은 프로퍼티치newValue
- 새로운 프로퍼티치
PropertyVetoException
- 수취하는 측으로 프로퍼티 변경의
롤백(rollback)를 지정하고 있는 경우public boolean validatePendingSetBeanContext(BeanContext newValue)
newValue
- BeanContext 프로퍼티에 요구되고 있다
새로운 값
true
protected void releaseBeanContextResources()
protected void initializeBeanContextResources()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.