|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.RtComponentSource
org.objectweb.kilim.model.RtComponentInterface
org.objectweb.kilim.model.RtComponentProvider
| Field Summary | |
protected static java.util.Stack |
callStack
|
private java.lang.Object |
source
|
private RuntimeSource |
support
|
| Fields inherited from class org.objectweb.kilim.model.RtComponentInterface |
fW, pW |
| Fields inherited from class org.objectweb.kilim.model.RtComponentSource |
knownValues, mapper, mappingContext, svpStack |
| Fields inherited from class org.objectweb.kilim.model.RtComponentElement |
nbComponent, nbElement |
| Constructor Summary | |
protected |
RtComponentProvider(TemplateElementImpl aElement,
ContainerElement aComponent,
RuntimeSource aSupport)
The public constructor for RtComponentProvider. |
| Method Summary | |
void |
bindProvider(RuntimeSource aSource,
boolean jReplace)
binds an interface to a runtime source. |
java.lang.Object |
getEventSourceValue()
Method gets the EventSourceValue. |
int |
getKind()
Method getKind. |
java.lang.String |
getLocalName()
returns the local name of the component element. |
RuntimeSource |
getSupport()
returns the support of the provider. |
boolean |
isCollectionPort()
returns true if the interface is a collection port. |
boolean |
isEventSource()
returns whether the source is an event source.. |
boolean |
isProperty()
returns true if the interface is a property. |
boolean |
isProvider()
returns true if the interface is a provider (i.e. |
boolean |
isSingleValuePort()
Method isSingleValueInterface returns true if the interface is a single value port. |
void |
setEventSourceValue(java.lang.Object aSource)
sets the EventSourceValue. |
protected void |
specificBindValue(java.lang.Object aValue)
Method specificBindValue. |
protected void |
specificUnbindValue()
Method specificUnbindValue. |
void |
unbindProvider(RuntimeSource aSource)
unbinds an interface from a runtime source. |
| Methods inherited from class org.objectweb.kilim.model.RtComponentInterface |
addTrigger, bindValue, fireTriggers, getTriggerList, getTriggers, getValue, initializeInstanciation, isModified, removeTrigger, setTriggersDone, specificGetValue, triggersDone, unbindValue, update |
| Methods inherited from class org.objectweb.kilim.model.RtComponentSource |
addInterfaceListener, evaluationPerformed, getCurrentSVP, getInterfaceListeners, removeInterfaceListener |
| 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 |
| Methods inherited from interface org.objectweb.kilim.model.ComponentSource |
hasValue |
| Methods inherited from interface org.objectweb.kilim.model.ComponentElement |
getContainingComponent, getContainingElement, getElementDescription, getQualifiedName, getTemplateDefHierarchy |
| Methods inherited from interface org.objectweb.kilim.model.RuntimeSource |
addInterfaceListener, checkValue, getTarget, hasValue, removeInterfaceListener |
| Field Detail |
protected static java.util.Stack callStack
private RuntimeSource support
private java.lang.Object source
| Constructor Detail |
protected RtComponentProvider(TemplateElementImpl aElement,
ContainerElement aComponent,
RuntimeSource aSupport)
aElement - : the template description associated to the elementaComponent - : the component containing the provider (it is either a component or a slot).aSupport - : the support of the provider, i.e. source supporting the method, the constructor, the getter, .... associated to the provider.| Method Detail |
public java.lang.String getLocalName()
ComponentElement
ComponentElement.getLocalName()public boolean isEventSource()
RuntimeSource
isEventSource in interface RuntimeSourceisEventSource in class RtComponentInterfaceRuntimeSource.isEventSource()
public java.lang.Object getEventSourceValue()
throws KilimException
RuntimeSource
getEventSourceValue in interface RuntimeSourcegetEventSourceValue in class RtComponentInterfaceKilimExceptionorg.objectweb.kilim.model.RuntimeSource#getEventSource()
public void setEventSourceValue(java.lang.Object aSource)
throws KilimException
RuntimeSource
setEventSourceValue in interface RuntimeSourcesetEventSourceValue in class RtComponentInterfaceKilimExceptionorg.objectweb.kilim.model.RuntimeSource#setEventSource(Object)public RuntimeSource getSupport()
public void bindProvider(RuntimeSource aSource,
boolean jReplace)
throws KilimException
RtComponentInterface
bindProvider in interface ComponentInterfacebindProvider in class RtComponentInterfaceaSource - : the value source to be bound.jReplace - : true if replacement is allowed.
KilimException - : generated if aProvider is null, if the interface is already bound and jReplace is false.RtComponentInterface.bindProvider(RuntimeSource, boolean)
public void unbindProvider(RuntimeSource aSource)
throws KilimException
RtComponentInterface
unbindProvider in interface ComponentInterfaceunbindProvider in class RtComponentInterfaceaSource - : the source value to be unbound.
KilimException - : generated if aProvider is null or if the interface is not bound to aProvider.RtComponentInterface.unbindProvider(RuntimeSource)public boolean isSingleValuePort()
ComponentInterface
org.objectweb.kilim.model.ComponentInterface#isSingleValueInterface()public boolean isCollectionPort()
ComponentInterface
org.objectweb.kilim.model.ComponentInterface#isCollectionInterface()public boolean isProvider()
ComponentInterface
ComponentInterface.isProvider()public boolean isProperty()
ComponentInterface
ComponentInterface.isProperty()
protected void specificBindValue(java.lang.Object aValue)
throws KilimException
RtComponentInterface
specificBindValue in class RtComponentInterfaceaValue - :
KilimException - :RtComponentInterface.specificBindValue(Object)
protected void specificUnbindValue()
throws KilimException
RtComponentInterface
specificUnbindValue in class RtComponentInterfaceKilimException - :RtComponentInterface.specificUnbindValue()public int getKind()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||