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 of IProxyTargetLocator 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
JavaEEBeanLocator
public JavaEEBeanLocator(String beanId,
Class<?> beanType,
IJndiNamingStrategy namingStrategy)
- Constructor
- Parameters:
beanId - bean namebeanType - bean classnamingStrategy - - naming strategy
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
- See Also:
Object.equals(java.lang.Object)
getBeanName
public String getBeanName()
getBeanType
public Class<?> getBeanType()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
locateProxyTarget
public Object locateProxyTarget()
- Specified by:
locateProxyTarget in interface IProxyTargetLocator
- See Also:
IProxyTargetLocator.locateProxyTarget()
Copyright © 2013. All Rights Reserved.