Package org.wicketstuff.javaee.injection
Class JavaEEProxyFieldValueFactory
- java.lang.Object
-
- org.wicketstuff.javaee.injection.JavaEEProxyFieldValueFactory
-
- All Implemented Interfaces:
IFieldValueFactory
public class JavaEEProxyFieldValueFactory extends Object implements IFieldValueFactory
IFieldValueFactory
that creates proxies of EJBs based on theEJB
annotation applied to a field.- Author:
- Filippo Diotalevi
-
-
Constructor Summary
Constructors Constructor Description JavaEEProxyFieldValueFactory()
ConstructorJavaEEProxyFieldValueFactory(IJndiNamingStrategy namingStrategy)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getFieldValue(Field field, Object fieldOwner)
boolean
supportsField(Field field)
-
-
-
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 interfaceIFieldValueFactory
- See Also:
IFieldValueFactory.getFieldValue(java.lang.reflect.Field, java.lang.Object)
-
supportsField
public boolean supportsField(Field field)
- Specified by:
supportsField
in interfaceIFieldValueFactory
- See Also:
IFieldValueFactory.supportsField(java.lang.reflect.Field)
-
-