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 withConstructor 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 Object
Object.equals(java.lang.Object)
public String getBeanName()
public Class<?> getBeanType()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Object locateProxyTarget()
locateProxyTarget
in interface org.apache.wicket.proxy.IProxyTargetLocator
IProxyTargetLocator.locateProxyTarget()
Copyright © 2015. All rights reserved.