public abstract class JacobObject
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
JacobObject() |
Modifier and Type | Method and Description |
---|---|
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 <T extends Channel> |
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 <T extends Channel> |
newChannel(java.lang.Class<T> channelType) |
protected <T extends Channel> |
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 void |
object(boolean replication,
ChannelListener methodList) |
protected static void |
object(boolean replication,
ChannelListener[] methodLists) |
protected static void |
object(boolean replication,
java.util.Set<ChannelListener> methodLists) |
protected static <T extends Channel> |
object(ChannelListener<T> methodList)
Object; the Java code "object(x, ChannelListener)" is equivalent to
x ? ChannelListener in the process algebra. |
protected static <T extends Channel> |
replication(ChannelListener<T> methodList) |
protected static <T extends Channel> |
replication(T channel)
Obtain a replicated channel broadcaster.
|
java.lang.String |
toString() |
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> T object(ChannelListener<T> methodList)
x ? ChannelListener
in the process algebra.methodList
- method list for the communication reductionJacobThread.object(boolean, org.apache.ode.jacob.ChannelListener)
protected static void object(boolean replication, ChannelListener methodList)
protected static void object(boolean replication, ChannelListener[] methodLists)
protected static void object(boolean replication, java.util.Set<ChannelListener> methodLists)
protected static <T extends Channel> T replication(ChannelListener<T> methodList)
protected static <T extends Channel> T replication(T channel)
channel
- target channelpublic java.lang.reflect.Method getMethod(java.lang.String methodName)
public java.lang.String toString()
toString
in class java.lang.Object