org.objectweb.kilim.model
Class RtComponentSource
java.lang.Object
org.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.RtComponentSource
- All Implemented Interfaces:
- ComponentElement, RuntimeElement, RuntimeSource
- Direct Known Subclasses:
- RtComponentInterface, RtExternalValue, RuntimeSourceImpl1
- public abstract class RtComponentSource
- extends RtComponentElement
- implements RuntimeSource
- Author:
- horn
Methods inherited from class org.objectweb.kilim.model.RtComponentElement |
containsElement, getContainingComponent, getContainingElement, getElement, getElementDescription, getNbComponent, getNbElement, getQualifiedName, getTarget, getTemplateDefHierarchy, removeElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
svpStack
protected static java.util.Stack svpStack
knownValues
protected static java.util.HashMap knownValues
mapper
protected Mapper mapper
mappingContext
protected MappingContext mappingContext
nAryListeners
private java.util.List nAryListeners
RtComponentSource
protected RtComponentSource(TemplateElementImpl aElement,
ContainerElement aComponent)
getCurrentSVP
public static RtSingleValuePort getCurrentSVP()
- Method getCurrentSVP.
- Returns:
- RtSingleValuePort
evaluationPerformed
public static boolean evaluationPerformed(RtSingleValuePort aPort)
- Method evaluationPerformed.
- Parameters:
aPort
- : a single value port.
- Returns:
- boolean : the value is true if the single value port has already been evaluated. False otherwise.
addInterfaceListener
public void addInterfaceListener(RtCollectionPort aInterface)
throws KilimException
- Description copied from interface:
RuntimeSource
- adds a new listener to the value source.
- Specified by:
addInterfaceListener
in interface RuntimeSource
- Parameters:
aInterface
- : the collection port to be added to the list of listeners.
- Throws:
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.- See Also:
org.objectweb.kilim.model.RuntimeSource#addInterfaceListener(RtCollectionInterface)
removeInterfaceListener
public void removeInterfaceListener(RtCollectionPort aInterface)
throws KilimException
- Description copied from interface:
RuntimeSource
- removes a listener from the value source.
- Specified by:
removeInterfaceListener
in interface RuntimeSource
- Parameters:
aInterface
- : the collection port to be removed from the list of listeners.
- Throws:
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.- See Also:
org.objectweb.kilim.model.RuntimeSource#removeInterfaceListener(RtCollectionInterface)
getInterfaceListeners
public java.util.Iterator getInterfaceListeners()
- returns as an iterator the interface listeners associated to the source.
- Returns:
- Iterator