|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.iocular.def.MethodCallBuilder
public class MethodCallBuilder
Some kind of method or constructor call builder.
Constructor Summary | |
---|---|
MethodCallBuilder(ComponentBuilder component,
java.lang.Class<?> baseClass,
java.lang.String methodName)
|
|
MethodCallBuilder(ComponentBuilder component,
java.lang.Class<?> baseClass,
java.lang.String methodName,
java.lang.Class<?>[] actuals,
boolean staticOnly)
|
Method Summary | |
---|---|
MethodInvoker |
createInvoker(ISelfDef self,
java.util.Stack<ComponentBuilder> stack)
Create an unique invoker for this method. |
void |
setParameter(java.lang.Class<?> type)
Set an unnumbered/unordered parameter from a container object identified by the specified type. |
void |
setParameter(int index,
java.lang.Class<?> type)
Set a numbered parameter from a container object identified by the specified type. |
void |
setParameter(int index,
java.lang.String name)
Set a numbered parameter from a container object identified by the specified name. |
void |
setParameter(java.lang.String name)
Set an unnumbered/unordered parameter from a container object identified by the specified name. |
void |
setParameterSelf()
Set an unnumbered/unordered parameter from the actual object being built by the current definition. |
void |
setParameterSelf(int index)
Define a numbered parameter as the actual object being built by the current definition. |
void |
setStaticOnly(boolean staticOnly)
|
void |
setThisIsSelf()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodCallBuilder(ComponentBuilder component, java.lang.Class<?> baseClass, java.lang.String methodName, java.lang.Class<?>[] actuals, boolean staticOnly)
public MethodCallBuilder(ComponentBuilder component, java.lang.Class<?> baseClass, java.lang.String methodName)
Method Detail |
---|
public void setStaticOnly(boolean staticOnly)
public void setParameter(int index, java.lang.Class<?> type)
index
- type
- public void setParameter(int index, java.lang.String name)
index
- name
- public void setParameterSelf(int index)
index
- public void setParameter(java.lang.Class<?> type)
type
- public void setParameter(java.lang.String name)
name
- public void setParameterSelf()
public MethodInvoker createInvoker(ISelfDef self, java.util.Stack<ComponentBuilder> stack)
self
- stack
-
public void setThisIsSelf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |