net.sf.sail.common.beansupport
Class SailBeanContextChildSupport

java.lang.Object
  extended by java.beans.beancontext.BeanContextChildSupport
      extended by net.sf.sail.common.beansupport.SailBeanContextChildSupport
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServicesListener, java.beans.DesignMode, java.io.Serializable, java.util.EventListener
Direct Known Subclasses:
BasicExampleSessionListeningBean, RimExampleSessionListeningBean

public abstract class SailBeanContextChildSupport
extends java.beans.beancontext.BeanContextChildSupport
implements java.beans.DesignMode

Author:
turadg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.beans.beancontext.BeanContextChildSupport
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport
 
Fields inherited from interface java.beans.DesignMode
PROPERTYNAME
 
Constructor Summary
SailBeanContextChildSupport()
           
 
Method Summary
protected abstract  void consumeService(java.beans.beancontext.BeanContextServices bcs, java.lang.Class<java.lang.Object> serviceClass)
          This method will get called by the SailBeanContextServicesListener when it receives the serviceAvailable BeanContextServiceAvailableEvent
protected  void initializeBeanContextResources()
           
 boolean isDesignTime()
           
protected  boolean isInPod()
           
protected abstract  void registerDesiredServices(java.beans.beancontext.BeanContextServices bcs)
          This method is called in initializeBeanContextResources() to register what services this object wants to be made available to it
 void setDesignTime(boolean designTime)
           
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, isDelegated, releaseBeanContextResources, removePropertyChangeListener, removeVetoableChangeListener, serviceAvailable, serviceRevoked, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SailBeanContextChildSupport

public SailBeanContextChildSupport()
Method Detail

initializeBeanContextResources

protected void initializeBeanContextResources()
Overrides:
initializeBeanContextResources in class java.beans.beancontext.BeanContextChildSupport

consumeService

protected abstract void consumeService(java.beans.beancontext.BeanContextServices bcs,
                                       java.lang.Class<java.lang.Object> serviceClass)
This method will get called by the SailBeanContextServicesListener when it receives the serviceAvailable BeanContextServiceAvailableEvent

Parameters:
bcs -
serviceClass -

registerDesiredServices

protected abstract void registerDesiredServices(java.beans.beancontext.BeanContextServices bcs)
This method is called in initializeBeanContextResources() to register what services this object wants to be made available to it

Parameters:
bcs -

setDesignTime

public void setDesignTime(boolean designTime)
Specified by:
setDesignTime in interface java.beans.DesignMode

isDesignTime

public boolean isDesignTime()
Specified by:
isDesignTime in interface java.beans.DesignMode

isInPod

protected boolean isInPod()


Copyright © 2004-2008 TELS Center. All Rights Reserved.