Class JavaEEBeanLocator

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.proxy.IProxyTargetLocator, org.apache.wicket.util.io.IClusterable

    public class JavaEEBeanLocator
    extends Object
    implements org.apache.wicket.proxy.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
    • Constructor Detail

      • JavaEEBeanLocator

        public JavaEEBeanLocator​(String beanId,
                                 Class<?> beanType,
                                 IJndiNamingStrategy namingStrategy)
        Constructor
        Parameters:
        beanId - bean name
        beanType - bean class
        namingStrategy - - naming strategy
    • Method Detail

      • getBeanName

        public String getBeanName()
      • getBeanType

        public Class<?> getBeanType()
      • locateProxyTarget

        public Object locateProxyTarget()
        Specified by:
        locateProxyTarget in interface org.apache.wicket.proxy.IProxyTargetLocator
        See Also:
        IProxyTargetLocator.locateProxyTarget()