org.objectweb.kilim.model
Class ComponentFactory.RTMethod
java.lang.Object
org.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.RtComponentSource
org.objectweb.kilim.model.RtComponentInterface
org.objectweb.kilim.model.RtComponentProvider
org.objectweb.kilim.model.ComponentFactory.RTMethod
- All Implemented Interfaces:
- ComponentElement, ComponentInterface, ComponentSource, RuntimeAction, RuntimeElement, RuntimeSource
- Enclosing class:
- ComponentFactory
- private static class ComponentFactory.RTMethod
- extends RtComponentProvider
- implements RuntimeAction
Method Summary |
boolean |
checkAction(java.util.Stack aStack)
returns whether an action can be performed without any new constructive action. |
boolean |
checkValue(java.util.Stack exclude)
returns whether a value can be obtained without having to create new objects |
void |
execute()
executes the method, constructor, setter, getter implementing the RuntimeAction. |
(package private) java.lang.String |
getMethodName()
|
boolean |
hasValue()
returns whether the source has a value. |
(package private) boolean |
isStatic()
|
private java.lang.Object |
perform(boolean provides)
|
java.lang.Object |
specificGetValue()
Method specificGetValue. |
Methods inherited from class org.objectweb.kilim.model.RtComponentProvider |
bindProvider, getEventSourceValue, getKind, getLocalName, getSupport, isCollectionPort, isEventSource, isProperty, isProvider, isSingleValuePort, setEventSourceValue, specificBindValue, specificUnbindValue, unbindProvider |
Methods inherited from class org.objectweb.kilim.model.RtComponentInterface |
addTrigger, bindValue, fireTriggers, getTriggerList, getTriggers, getValue, initializeInstanciation, isModified, removeTrigger, setTriggersDone, triggersDone, unbindValue, update |
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 |
parameters
private RuntimeSource[] parameters
typeNames
private java.lang.String[] typeNames
ComponentFactory.RTMethod
ComponentFactory.RTMethod(TpMethod aMethod,
Component aComponent,
RuntimeSource aSupport,
RuntimeSource[] params,
java.lang.String[] tpNames)
isStatic
boolean isStatic()
getMethodName
java.lang.String getMethodName()
perform
private java.lang.Object perform(boolean provides)
throws KilimException
- Throws:
KilimException
specificGetValue
public java.lang.Object specificGetValue()
throws KilimException
- Description copied from class:
RtComponentInterface
- Method specificGetValue.
- Specified by:
specificGetValue
in class RtComponentInterface
- Returns:
- Object
- Throws:
KilimException
- :- See Also:
RtComponentInterface.specificGetValue()
execute
public void execute()
throws KilimException
- Description copied from interface:
RuntimeAction
- executes the method, constructor, setter, getter implementing the RuntimeAction.
- Specified by:
execute
in interface RuntimeAction
- Throws:
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.- See Also:
RuntimeAction.execute()
hasValue
public boolean hasValue()
throws KilimException
- Description copied from interface:
RuntimeSource
- returns whether the source has a value. The behaviour depends on the nature of the source.
It always returns false when invoked on tagged providers, for example.
- Specified by:
hasValue
in interface ComponentSource
- Returns:
- boolean
- Throws:
KilimException
- : the exception is generated when the method is invoked on unbound references or nary ports.- See Also:
org.objectweb.kilim.model.ComponentSource#checkValue()
checkValue
public boolean checkValue(java.util.Stack exclude)
throws KilimException
- Description copied from interface:
RuntimeSource
- returns whether a value can be obtained without having to create new objects
- Specified by:
checkValue
in interface RuntimeSource
- Parameters:
exclude
- : the exclude stack contains objects beiing in the process of being built.
- Returns:
- boolean
- Throws:
KilimException
- :- See Also:
org.objectweb.kilim.model.ComponentSource#checkValue()
checkAction
public boolean checkAction(java.util.Stack aStack)
throws KilimException
- Description copied from interface:
RuntimeAction
- returns whether an action can be performed without any new constructive action.
- Specified by:
checkAction
in interface RuntimeAction
- Parameters:
aStack
- is the stack of runtime element which are under evaluation (i.e. element in the process of a constructive action).
- Returns:
- boolean
- Throws:
KilimException
- :- See Also:
org.objectweb.kilim.model.RuntimeAction#checkAction()