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 ofIProxyTargetLocator
to 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 boolean
equals(Object obj)
String
getBeanName()
Class<?>
getBeanType()
int
hashCode()
Object
locateProxyTarget()
-
-
-
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:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
getBeanName
public String getBeanName()
-
getBeanType
public Class<?> getBeanType()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
locateProxyTarget
public Object locateProxyTarget()
- Specified by:
locateProxyTarget
in interfaceIProxyTargetLocator
- See Also:
IProxyTargetLocator.locateProxyTarget()
-
-