net.sf.sail.core.activity.model
Class ScriptBeanSupport

java.lang.Object
  extended by java.beans.beancontext.BeanContextChildSupport
      extended by net.sf.sail.core.activity.model.ScriptBeanSupport
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServicesListener, java.io.Serializable, java.util.EventListener, IScriptBean

public class ScriptBeanSupport
extends java.beans.beancontext.BeanContextChildSupport
implements IScriptBean

See Also:
Serialized Form

Field Summary
protected  java.lang.Class<? extends java.beans.Customizer> customizerClass
           
protected  java.lang.String name
           
protected  IScript script
           
 
Fields inherited from class java.beans.beancontext.BeanContextChildSupport
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport
 
Fields inherited from interface net.sf.sail.core.activity.model.IScriptBean
ENGINE_SCOPE, GLOBAL_SCOPE
 
Constructor Summary
ScriptBeanSupport()
           
 
Method Summary
 java.lang.Object evaluate()
           
 java.lang.Class<? extends java.beans.Customizer> getCustomizerClass()
           
 java.lang.String getName()
           
 IScript getScript()
           
 java.beans.beancontext.BeanContext getScriptParent()
           
 void setCustomizerClass(java.lang.Class<? extends java.beans.Customizer> customizer)
           
 void setName(java.lang.String value)
           
 void setScript(IScript script)
           
 void setScriptParent(java.beans.beancontext.BeanContext parent)
           
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, initializeBeanContextResources, 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
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 

Field Detail

name

protected java.lang.String name

script

protected IScript script

customizerClass

protected java.lang.Class<? extends java.beans.Customizer> customizerClass
Constructor Detail

ScriptBeanSupport

public ScriptBeanSupport()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface IScriptBean

setName

public void setName(java.lang.String value)
Specified by:
setName in interface IScriptBean

setScriptParent

public void setScriptParent(java.beans.beancontext.BeanContext parent)
Specified by:
setScriptParent in interface IScriptBean

getScriptParent

public java.beans.beancontext.BeanContext getScriptParent()
Specified by:
getScriptParent in interface IScriptBean

evaluate

public java.lang.Object evaluate()
                          throws javax.script.ScriptException
Specified by:
evaluate in interface IScriptBean
Throws:
javax.script.ScriptException

getCustomizerClass

public java.lang.Class<? extends java.beans.Customizer> getCustomizerClass()
Specified by:
getCustomizerClass in interface IScriptBean

setCustomizerClass

public void setCustomizerClass(java.lang.Class<? extends java.beans.Customizer> customizer)
Specified by:
setCustomizerClass in interface IScriptBean

getScript

public IScript getScript()
Specified by:
getScript in interface IScriptBean

setScript

public void setScript(IScript script)
Specified by:
setScript in interface IScriptBean


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