com.sun.enterprise.web.jsp
Class ResourceInjectorImpl

java.lang.Object
  extended by com.sun.enterprise.web.jsp.ResourceInjectorImpl
All Implemented Interfaces:
org.glassfish.jsp.api.ResourceInjector

public class ResourceInjectorImpl
extends java.lang.Object
implements org.glassfish.jsp.api.ResourceInjector

Implementation of org.glassfish.jsp.api.ResourceInjector

Author:
Jan Luehe

Field Summary
protected static java.util.logging.Logger _logger
           
protected static java.util.ResourceBundle _rb
           
 
Constructor Summary
ResourceInjectorImpl(WebModule webModule)
           
 
Method Summary
<T extends javax.servlet.jsp.tagext.JspTag>
T
createTagHandlerInstance(java.lang.Class<T> clazz)
          Instantiates and injects the given tag handler class.
 void preDestroy(javax.servlet.jsp.tagext.JspTag handler)
          Invokes any @PreDestroy methods defined on the instance's class (and super-classes).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

protected static final java.util.logging.Logger _logger

_rb

protected static final java.util.ResourceBundle _rb
Constructor Detail

ResourceInjectorImpl

public ResourceInjectorImpl(WebModule webModule)
Method Detail

createTagHandlerInstance

public <T extends javax.servlet.jsp.tagext.JspTag> T createTagHandlerInstance(java.lang.Class<T> clazz)
                                                                   throws java.lang.Exception
Instantiates and injects the given tag handler class.

Specified by:
createTagHandlerInstance in interface org.glassfish.jsp.api.ResourceInjector
Parameters:
clazz - the TagHandler class to be instantiated and injected
Throws:
java.lang.Exception - if an error has occurred during instantiation or injection

preDestroy

public void preDestroy(javax.servlet.jsp.tagext.JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class (and super-classes).

Specified by:
preDestroy in interface org.glassfish.jsp.api.ResourceInjector
Parameters:
handler - The tag handler instance whose PreDestroy-annotated method to call


Copyright © 2012 GlassFish Community. All Rights Reserved.