com.fatwire.gst.foundation.controller.action
Class AnnotationBinder
java.lang.Object
com.fatwire.gst.foundation.controller.action.AnnotationBinder
public final class AnnotationBinder
- extends Object
Helper to bind variables to an Object based on annotated fields.
- Since:
- 12 mei 2012
- Author:
- Dolf Dijkstra
Field Summary |
protected static org.apache.commons.logging.Log |
LOG
|
protected static org.apache.commons.logging.Log |
LOG_TIME
|
Method Summary |
static void |
bind(Object object,
COM.FutureTense.Interfaces.ICS ics)
Inject ICS runtime objects into the object. |
static void |
bindToField(Object object,
COM.FutureTense.Interfaces.ICS ics,
Field field)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.commons.logging.Log LOG
LOG_TIME
protected static final org.apache.commons.logging.Log LOG_TIME
AnnotationBinder
public AnnotationBinder()
bind
public static final void bind(Object object,
COM.FutureTense.Interfaces.ICS ics)
- Inject ICS runtime objects into the object. Objects flagged with the
InjectForRequest
annotation will be populated by this method by
retrieving the value from the Factory.getObject(String,Class)
method.
- Parameters:
object
- the object to inject into.ics
- the ics context.
bindToField
public static void bindToField(Object object,
COM.FutureTense.Interfaces.ICS ics,
Field field)
throws SecurityException
- Parameters:
object
- object to bind toics
- the ics contextfield
- the field to inject to
- Throws:
SecurityException
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.