public class JavaEEBeanLocator extends Object implements org.apache.wicket.proxy.IProxyTargetLocator
IProxyTargetLocator to locate ejbs using Java EE 5 resource injection.
To use this technique in a Wicket Page, annotate a instance variable with| Constructor and Description |
|---|
JavaEEBeanLocator(String beanId,
Class<?> beanType,
IJndiNamingStrategy namingStrategy)
Constructor
|
public JavaEEBeanLocator(String beanId, Class<?> beanType, IJndiNamingStrategy namingStrategy)
beanId - bean namebeanType - bean classnamingStrategy - - naming strategypublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getBeanName()
public Class<?> getBeanType()
public int hashCode()
hashCode in class ObjectObject.hashCode()public Object locateProxyTarget()
locateProxyTarget in interface org.apache.wicket.proxy.IProxyTargetLocatorIProxyTargetLocator.locateProxyTarget()Copyright © 2015. All rights reserved.