JSF-Spring

de.mindmatters.faces.application
Interface MethodBindingFactory


public interface MethodBindingFactory

Factory for creating MethodBindings and ValueBindings. Used by ApplicationImpl.

Author:
Andreas Kuhrwahl

Method Summary
 MethodBinding createMethodBinding(Application application, java.lang.String ref, java.lang.Class[] params)
          Instantiate and return a new MethodBinding for the specified method binding expression, which may be used to call the corresponding method later.
 ValueBinding createValueBinding(Application application, java.lang.String ref)
          Instantiate and return a new ValueBinding for the specified value binding expression, which may be used to manipulate the corresponding property value later.
 

Method Detail

createMethodBinding

MethodBinding createMethodBinding(Application application,
                                  java.lang.String ref,
                                  java.lang.Class[] params)
Instantiate and return a new MethodBinding for the specified method binding expression, which may be used to call the corresponding method later.

Parameters:
application - the original Application of the underlying JSF implementation
ref - Method binding expression for which to return a MethodBinding instance
params - Parameter signatures that must be compatible with those of the method to be invoked, or a zero-length array or null for a method that takes no parameters
Returns:
the created MethodBinding
Throws:
java.lang.NullPointerException - if ref is null
ReferenceSyntaxException - if the specified ref has invalid syntax

createValueBinding

ValueBinding createValueBinding(Application application,
                                java.lang.String ref)
Instantiate and return a new ValueBinding for the specified value binding expression, which may be used to manipulate the corresponding property value later.

Parameters:
application - the original Application of the underlying JSF implementation
ref - Value binding expression for which to return a ValueBinding instance
Returns:
the created ValueBinding
Throws:
java.lang.NullPointerException - if ref is null
ReferenceSyntaxException - if the specified ref has invalid syntax

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG