Package org.wicketstuff.javaee
Class JavaEEBeanLocator
- java.lang.Object
-
- org.wicketstuff.javaee.JavaEEBeanLocator
-
- All Implemented Interfaces:
Serializable,IProxyTargetLocator,IClusterable
public class JavaEEBeanLocator extends Object implements IProxyTargetLocator
Implementation ofIProxyTargetLocatorto locate ejbs using Java EE 5 resource injection. To use this technique in a Wicket Page, annotate a instance variable with- Author:
- Filippo Diotalevi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaEEBeanLocator(String beanId, Class<?> beanType, IJndiNamingStrategy namingStrategy)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBeanName()Class<?>getBeanType()inthashCode()ObjectlocateProxyTarget()
-
-
-
Constructor Detail
-
JavaEEBeanLocator
public JavaEEBeanLocator(String beanId, Class<?> beanType, IJndiNamingStrategy namingStrategy)
Constructor- Parameters:
beanId- bean namebeanType- bean classnamingStrategy- - naming strategy
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
getBeanName
public String getBeanName()
-
getBeanType
public Class<?> getBeanType()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
locateProxyTarget
public Object locateProxyTarget()
- Specified by:
locateProxyTargetin interfaceIProxyTargetLocator- See Also:
IProxyTargetLocator.locateProxyTarget()
-
-