org.wicketstuff.javaee.injection
Class JavaEEProxyFieldValueFactory

java.lang.Object
  extended by org.wicketstuff.javaee.injection.JavaEEProxyFieldValueFactory
All Implemented Interfaces:
IFieldValueFactory

public class JavaEEProxyFieldValueFactory
extends Object
implements IFieldValueFactory

IFieldValueFactory that creates proxies of EJBs based on the EJB annotation applied to a field.

Author:
Filippo Diotalevi

Constructor Summary
JavaEEProxyFieldValueFactory()
          Constructor
JavaEEProxyFieldValueFactory(IJndiNamingStrategy namingStrategy)
          Constructor
 
Method Summary
 Object getFieldValue(Field field, Object fieldOwner)
           
 boolean supportsField(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 IFieldValueFactory
See Also:
IFieldValueFactory.getFieldValue(java.lang.reflect.Field, java.lang.Object)

supportsField

public boolean supportsField(Field field)
Specified by:
supportsField in interface IFieldValueFactory
See Also:
IFieldValueFactory.supportsField(java.lang.reflect.Field)


Copyright © 2013. All Rights Reserved.