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

java.lang.Object
  extended by java.beans.beancontext.BeanContextChildSupport
      extended by java.beans.beancontext.BeanContextSupport
          extended by java.beans.beancontext.BeanContextServicesSupport
              extended by net.sf.sail.core.activity.model.ScriptBeanContext
All Implemented Interfaces:
java.beans.beancontext.BeanContext, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServices, java.beans.beancontext.BeanContextServicesListener, java.beans.DesignMode, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener, java.beans.Visibility, java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.EventListener, INavElement, IScriptBean
Direct Known Subclasses:
NavNodeSupport, NavTransitSupport

public class ScriptBeanContext
extends java.beans.beancontext.BeanContextServicesSupport
implements IScriptBean, INavElement

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.beans.beancontext.BeanContextServicesSupport
java.beans.beancontext.BeanContextServicesSupport.BCSSChild, java.beans.beancontext.BeanContextServicesSupport.BCSSProxyServiceProvider, java.beans.beancontext.BeanContextServicesSupport.BCSSServiceProvider
 
Nested classes/interfaces inherited from class java.beans.beancontext.BeanContextSupport
java.beans.beancontext.BeanContextSupport.BCSChild, java.beans.beancontext.BeanContextSupport.BCSIterator
 
Field Summary
protected  INavElement navParent
           
protected  ScriptBeanSupport support
           
 
Fields inherited from class java.beans.beancontext.BeanContextServicesSupport
bcsListeners, proxy, serializable, services
 
Fields inherited from class java.beans.beancontext.BeanContextSupport
bcmListeners, children, designTime, locale, okToUseGui
 
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
 
Fields inherited from interface java.beans.beancontext.BeanContext
globalHierarchyLock
 
Fields inherited from interface java.beans.DesignMode
PROPERTYNAME
 
Constructor Summary
ScriptBeanContext()
           
ScriptBeanContext(java.beans.beancontext.BeanContext parent)
           
 
Method Summary
 void clear()
           
 void close()
           
 java.lang.Object evaluate()
           
 java.lang.Class<? extends java.beans.Customizer> getCustomizerClass()
           
 java.lang.String getName()
           
 INavElement getParentElement()
           
 INavElement getRootElement()
           
 IScript getScript()
           
 java.beans.beancontext.BeanContext getScriptParent()
           
 void initialize()
           
static void main(java.lang.String[] args)
           
 void setCustomizerClass(java.lang.Class<? extends java.beans.Customizer> customizer)
           
 void setName(java.lang.String value)
           
 void setParentElement(INavElement element)
           
 void setScript(IScript script)
           
 void setScriptParent(java.beans.beancontext.BeanContext beanContext)
           
 java.lang.String toString()
           
 
Methods inherited from class java.beans.beancontext.BeanContextServicesSupport
addBeanContextServicesListener, addService, addService, bcsPreDeserializationHook, bcsPreSerializationHook, childJustRemovedHook, createBCSChild, createBCSSServiceProvider, fireServiceAdded, fireServiceAdded, fireServiceRevoked, fireServiceRevoked, getBeanContextServicesPeer, getChildBeanContextServicesListener, getCurrentServiceClasses, getCurrentServiceSelectors, getService, hasService, initializeBeanContextResources, releaseBeanContextResources, releaseService, removeBeanContextServicesListener, revokeService, serviceAvailable, serviceRevoked
 
Methods inherited from class java.beans.beancontext.BeanContextSupport
add, addAll, addBeanContextMembershipListener, avoidingGui, bcsChildren, childDeserializedHook, childJustAddedHook, classEquals, contains, containsAll, containsKey, copyChildren, deserialize, dontUseGui, fireChildrenAdded, fireChildrenRemoved, getBeanContextPeer, getChildBeanContextChild, getChildBeanContextMembershipListener, getChildPropertyChangeListener, getChildSerializable, getChildVetoableChangeListener, getChildVisibility, getLocale, getResource, getResourceAsStream, instantiateChild, isDesignTime, isEmpty, isSerializing, iterator, needsGui, okToUseGui, propertyChange, readChildren, remove, remove, removeAll, removeBeanContextMembershipListener, retainAll, serialize, setDesignTime, setLocale, size, toArray, toArray, validatePendingAdd, validatePendingRemove, vetoableChange, writeChildren
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, isDelegated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface java.util.Collection
add, addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.beans.DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface java.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 

Field Detail

support

protected ScriptBeanSupport support

navParent

protected INavElement navParent
Constructor Detail

ScriptBeanContext

public ScriptBeanContext(java.beans.beancontext.BeanContext parent)

ScriptBeanContext

public ScriptBeanContext()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface INavElement
Overrides:
initialize in class java.beans.beancontext.BeanContextServicesSupport

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clear

public void clear()
Specified by:
clear in interface java.util.Collection
Overrides:
clear in class java.beans.beancontext.BeanContextSupport

main

public static void main(java.lang.String[] args)

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

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

getScriptParent

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

setScriptParent

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

getRootElement

public INavElement getRootElement()
Specified by:
getRootElement in interface INavElement

getParentElement

public INavElement getParentElement()
Specified by:
getParentElement in interface INavElement

setParentElement

public void setParentElement(INavElement element)
Specified by:
setParentElement in interface INavElement

close

public void close()
Specified by:
close in interface INavElement


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