net.sf.sail.core.beans
Class Pod
java.lang.Object
java.beans.beancontext.BeanContextChildSupport
java.beans.beancontext.BeanContextSupport
java.beans.beancontext.BeanContextServicesSupport
net.sf.sail.core.activity.model.ScriptBeanContext
net.sf.sail.core.beans.Pod
- 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
public class Pod
- extends ScriptBeanContext
Bean representing the reusable Pod container.
- Author:
- turadg
- See Also:
- Serialized Form
| 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 |
| 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 java.beans.beancontext.BeanContext |
globalHierarchyLock |
| Fields inherited from interface java.beans.DesignMode |
PROPERTYNAME |
|
Constructor Summary |
Pod()
|
| Methods inherited from class net.sf.sail.core.activity.model.ScriptBeanContext |
clear, close, evaluate, getCustomizerClass, getName, getParentElement, getRootElement, getScript, getScriptParent, initialize, main, removeAll, setCustomizerClass, setName, setParentElement, setScript, setScriptParent |
| 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 |
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, 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 |
addAll, contains, containsAll, equals, 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 |
PROPERTY_POD_ID
public static final java.lang.String PROPERTY_POD_ID
- Make this a constant so other classes can use this property name
- See Also:
- Constant Field Values
podId
PodUuid podId
vars
java.util.Map<java.lang.String,PropertyRef> vars
transientRefs
java.util.Set<PropertyRef> transientRefs
assemblyCalls
java.util.List assemblyCalls
childPodIds
java.util.Set<PodUuid> childPodIds
Pod
public Pod()
getPodId
public PodUuid getPodId()
setPodId
public void setPodId(PodUuid podId)
getVars
public java.util.Map getVars()
setVars
public void setVars(java.util.Map<java.lang.String,PropertyRef> vars)
bind
public void bind(java.lang.String varName,
PropertyRef propertyRef,
boolean isTransient)
resolve
public java.lang.Object resolve(java.lang.String varName)
getTransientRefs
public java.util.Set getTransientRefs()
setTransientRefs
public void setTransientRefs(java.util.Set<PropertyRef> transientRefs)
getAssemblyCalls
public java.util.List getAssemblyCalls()
setAssemblyCalls
public void setAssemblyCalls(java.util.List assemblyCalls)
childWithId
protected Pod childWithId(PodUuid podId)
getPodArchive
public java.net.URL getPodArchive()
assemble
public void assemble()
add
public boolean add(java.lang.Object targetChild)
- Specified by:
add in interface java.util.Collection- Overrides:
add in class java.beans.beancontext.BeanContextSupport
getChildPodIds
public java.util.Set getChildPodIds()
setChildPodIds
public void setChildPodIds(java.util.Set<PodUuid> childPodIds)
isTransient
public boolean isTransient(java.lang.Object value)
- Returns whether the value is the same as a podvar that is transient.
(i.e. should not be marshalled) Assumes instances of Pod cannot be
imported.
- Parameters:
value -
- Returns:
- true iff the value matches the current value of one of the refs
in this pod marked transient
toString
public java.lang.String toString()
- Overrides:
toString in class ScriptBeanContext
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.util.Collection- Overrides:
hashCode in class java.lang.Object
Copyright 2004-2004-2006 TELS Center. All Rights Reserved.