Class JavaEEProxyFieldValueFactory

  • All Implemented Interfaces:
    org.apache.wicket.injection.IFieldValueFactory

    public class JavaEEProxyFieldValueFactory
    extends Object
    implements org.apache.wicket.injection.IFieldValueFactory
    IFieldValueFactory that creates proxies of EJBs based on the EJB annotation applied to a field.
    Author:
    Filippo Diotalevi
    • Constructor Detail

      • JavaEEProxyFieldValueFactory

        public JavaEEProxyFieldValueFactory()
        Constructor
      • JavaEEProxyFieldValueFactory

        public JavaEEProxyFieldValueFactory​(IJndiNamingStrategy namingStrategy)
        Constructor
        Parameters:
        namingStrategy - - naming strategy
    • Method Detail

      • getFieldValue

        public Object getFieldValue​(Field field,
                                    Object fieldOwner)
        Specified by:
        getFieldValue in interface org.apache.wicket.injection.IFieldValueFactory
        See Also:
        IFieldValueFactory.getFieldValue(java.lang.reflect.Field, java.lang.Object)
      • supportsField

        public boolean supportsField​(Field field)
        Specified by:
        supportsField in interface org.apache.wicket.injection.IFieldValueFactory
        See Also:
        IFieldValueFactory.supportsField(java.lang.reflect.Field)