public class JAProperties extends JLPCActor implements Properties
JLPCActor.SMBuilder
Constructor and Description |
---|
JAProperties() |
Modifier and Type | Method and Description |
---|---|
static Object |
getProperty(Actor targetActor,
String propertyName) |
Object |
getProperty(String propertyName) |
static void |
setProperty(Actor targetActor,
String propertyName,
Object propertyValue) |
void |
setProperty(String propertyName,
Object propertyValue)
Assign a value to a property.
|
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setExceptionHandler
acceptEvent, acceptRequest, getActorType, getAncestor, getFactory, getMailbox, getMatch, getParent, hasDataItem, setInitialBufferCapacity
public static Object getProperty(Actor targetActor, String propertyName) throws Exception
Exception
public static void setProperty(Actor targetActor, String propertyName, Object propertyValue) throws Exception
Exception
public Object getProperty(String propertyName) throws Exception
getProperty
in interface Properties
Exception
public void setProperty(String propertyName, Object propertyValue)
setProperty
in interface Properties
propertyName
- The name of the property.propertyValue
- The value to be assigned.Copyright © 2012. All Rights Reserved.