Class AbstractResourceServices

    • Constructor Detail

      • AbstractResourceServices

        public AbstractResourceServices()
    • Method Detail

      • resolveResource

        public Object resolveResource​(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
      • resolveResource

        public Object resolveResource​(String jndiName,
                                      String mappedName)
      • getResourceName

        protected String getResourceName​(String jndiName,
                                         String mappedName)
      • getContext

        protected abstract Context getContext()
      • getResourceName

        protected String getResourceName​(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
      • getPropertyName

        public static String getPropertyName​(Method method)
      • getResourceAnnotation

        protected jakarta.annotation.Resource getResourceAnnotation​(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
      • cleanup

        public void cleanup()
        Description copied from interface: Service
        Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
        Specified by:
        cleanup in interface Service