jodd.madvoc.injector
Class ScopeInjector

java.lang.Object
  extended by jodd.madvoc.injector.ScopeInjector
All Implemented Interfaces:
ActionInjector
Direct Known Subclasses:
ApplicationScopeInjector, ContextScopeInjector, ParamScopeInjector, RequestScopeInjector, SessionScopeInjector

public abstract class ScopeInjector
extends java.lang.Object
implements ActionInjector


Field Summary
protected  java.util.Map<java.lang.Class,ScopeData> scopeData
           
 
Constructor Summary
protected ScopeInjector()
           
 
Method Summary
protected  java.lang.String getPropertyName(ScopeData.In in, java.lang.String attrName)
          Returns real property name.
protected  ScopeData inspectScopeData(java.lang.Object action, ScopeType scopeType)
           
protected  ScopeData.In[] lookupInData(java.lang.Object action, ScopeType scopeType)
           
protected  ScopeData.Out[] lookupOutData(java.lang.Object action, ScopeType scopeType)
           
protected  ScopeData lookupScopeData(java.lang.Object action, ScopeType scopeType)
           
protected  boolean matchParamName(java.lang.String required, java.lang.String param)
          Matches if attribute name matches the required field name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jodd.madvoc.injector.ActionInjector
inject, outject
 

Field Detail

scopeData

protected final java.util.Map<java.lang.Class,ScopeData> scopeData
Constructor Detail

ScopeInjector

protected ScopeInjector()
Method Detail

lookupScopeData

protected ScopeData lookupScopeData(java.lang.Object action,
                                    ScopeType scopeType)

lookupInData

protected ScopeData.In[] lookupInData(java.lang.Object action,
                                      ScopeType scopeType)

lookupOutData

protected ScopeData.Out[] lookupOutData(java.lang.Object action,
                                        ScopeType scopeType)

inspectScopeData

protected ScopeData inspectScopeData(java.lang.Object action,
                                     ScopeType scopeType)

matchParamName

protected boolean matchParamName(java.lang.String required,
                                 java.lang.String param)
Matches if attribute name matches the required field name. If the match is positive, injection or outjection is performed on the field.


getPropertyName

protected java.lang.String getPropertyName(ScopeData.In in,
                                           java.lang.String attrName)
Returns real property name.



Copyright ©2008 Jodd Team