|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.umlv.corosol.component.impl.AbstractJVMComponent
fr.umlv.corosol.component.impl.DefaultJMethodInvoker
public class DefaultJMethodInvoker
The default implementation of the JMethodInvoker interface.
| Constructor Summary | |
|---|---|
DefaultJMethodInvoker()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
configure(JVirtualMachine jvm)
Configures the component via the specified JVM. |
java.lang.Class |
getComponentClass()
Returns the class object describing this component. |
void |
invokeConstructor(JConstructor constructor,
JThread thread)
Invokes the specified constructor into the specified thread. |
void |
invokeMethod(JMethod method,
JThread thread)
Invokes the specified method into the specified thread. |
java.lang.String |
toString()
Returns a string representation of this JMethodInvoker object. |
| Methods inherited from class fr.umlv.corosol.component.impl.AbstractJVMComponent |
|---|
replace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.umlv.corosol.component.JVMComponent |
|---|
replace |
| Constructor Detail |
|---|
public DefaultJMethodInvoker()
| Method Detail |
|---|
public void configure(JVirtualMachine jvm)
configure in interface JVMComponentconfigure in class AbstractJVMComponentjvm - the Java Virtual Machinepublic java.lang.Class getComponentClass()
getComponentClass in interface JVMComponent
public void invokeMethod(JMethod method,
JThread thread)
throws java.lang.Exception
invokeMethod in interface JMethodInvokermethod - the method to be invokedthread - a thread
java.lang.Exception - if the executed method throws an exception
public void invokeConstructor(JConstructor constructor,
JThread thread)
throws java.lang.Exception
invokeConstructor in interface JMethodInvokerconstructor - the constructor to be invokedthread - a thread
java.lang.Exception - if the executed method throws an exceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||