public class ERDDelayedObjectCreationAssignment extends ERDDelayedAssignment
{
className = "foo.bar.MyClass";
arguments = ( {
className = "com.webobjects.appserver.WOSession";
contextKey = "session";
}, {
className = "java.lang.String";
contextKey = "propertyKey";
});
}
This will create an object of type MyClass using the constructor:
MyClass(WOSession session, String key), using the arguments found
by resolving the contextKey off of the current context.EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
logging support
|
_CLASS| Constructor and Description |
|---|
ERDDelayedObjectCreationAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDDelayedObjectCreationAssignment(String key,
Object value)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
Object |
fireNow(com.webobjects.directtoweb.D2WContext context)
Delayed firing of assignment.
|
firepublic ERDDelayedObjectCreationAssignment(EOKeyValueUnarchiver u)
u - key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver - to be unarchivedpublic Object fireNow(com.webobjects.directtoweb.D2WContext context)
fireNow in class ERDDelayedAssignmentcontext - current contextCopyright © 2002 – 2025 Project Wonder.