|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.jacob.JacobObject
public abstract class JacobObject
Base class for constructs which rely on a Java method body to represent some aspect of the process.
Constructor Summary | |
---|---|
JacobObject()
|
Method Summary | ||
---|---|---|
protected java.lang.String |
getClassName()
Get the unadorned (no package) name of this class. |
|
protected static java.lang.Object |
getExtension(java.lang.Class extensionClass)
|
|
abstract java.util.Set<java.lang.reflect.Method> |
getImplementedMethods()
|
|
java.lang.reflect.Method |
getMethod(java.lang.String methodName)
|
|
protected static
|
importChannel(java.lang.String channelId,
java.lang.Class<T> channelClass)
|
|
protected static void |
instance(JacobRunnable concretion)
Instantiation; the Java code instance(new F(x,y,z)) is
equivalent to F(x,y,z) in the process calculus. |
|
protected
|
newChannel(java.lang.Class<T> channelType)
|
|
protected
|
newChannel(java.lang.Class<T> channelType,
java.lang.String description)
Channel creation; the Java code Channel x = newChannel(XChannel.class) ...
is equivalent to (new x) ... |
|
protected static
|
object(boolean replication,
L methodList)
|
|
protected static
|
object(boolean replication,
L[] methodLists)
|
|
protected static
|
object(boolean replication,
java.util.Set<L> methodLists)
|
|
protected static
|
object(L methodList)
Object; the Java code "object(x, ChannelListener)" is equivalent to x ? ChannelListener in the process algebra. |
|
protected static
|
replication(L methodList)
|
|
protected static
|
replication(T channel)
Obtain a replicated channel broadcaster. |
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JacobObject()
Method Detail |
---|
public abstract java.util.Set<java.lang.reflect.Method> getImplementedMethods()
protected java.lang.String getClassName()
protected static java.lang.Object getExtension(java.lang.Class extensionClass)
protected static <T extends Channel> T importChannel(java.lang.String channelId, java.lang.Class<T> channelClass)
protected static void instance(JacobRunnable concretion)
instance(new F(x,y,z))
is
equivalent to F(x,y,z)
in the process calculus.
concretion
- the concretion of a process templateprotected <T extends Channel> T newChannel(java.lang.Class<T> channelType) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected <T extends Channel> T newChannel(java.lang.Class<T> channelType, java.lang.String description) throws java.lang.IllegalArgumentException
Channel x = newChannel(XChannel.class) ...
is equivalent to (new x) ...
in the process calculus.
java.lang.IllegalArgumentException
protected static <T extends Channel,L extends ChannelListener<T>> T object(L methodList)
x ? ChannelListener
in the process algebra.
methodList
- method list for the communication reductionJacobThread.object(boolean, org.apache.ode.jacob.ChannelListener)
protected static <T extends Channel,L extends ChannelListener<T>> void object(boolean replication, L methodList)
protected static <T extends Channel,L extends ChannelListener<T>> void object(boolean replication, L[] methodLists)
protected static <T extends Channel,L extends ChannelListener<T>> void object(boolean replication, java.util.Set<L> methodLists)
protected static <T extends Channel,L extends ChannelListener<T>> T replication(L methodList)
protected static <T extends Channel> T replication(T channel)
channel
- target channel
public java.lang.reflect.Method getMethod(java.lang.String methodName)
public 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 |