com.sun.faces.vendor
Class Jetty6InjectionProvider

java.lang.Object
  extended by com.sun.faces.spi.DiscoverableInjectionProvider
      extended by com.sun.faces.vendor.Jetty6InjectionProvider
All Implemented Interfaces:
InjectionProvider

public class Jetty6InjectionProvider
extends DiscoverableInjectionProvider

See http://docs.codehaus.org/display/JETTY/Annotations for details on Jetty's supported Annotations.


Constructor Summary
Jetty6InjectionProvider()
          Construct a new Jetty6InjectionProvider instance.
 
Method Summary
 void inject(java.lang.Object managedBean)
          The implementation of this method must perform the following steps: Inject the supported resources per the Servlet 2.5 specification into the provided object
 void invokePostConstruct(java.lang.Object managedBean)
          The implemenation of this method must invoke any method marked with the @PostConstruct annotation (per the Common Annotations Specification).
 void invokePreDestroy(java.lang.Object managedBean)
          The implemenation of this method must invoke any method marked with the @PreDestroy annotation (per the Common Annotations Specification).
 
Methods inherited from class com.sun.faces.spi.DiscoverableInjectionProvider
isInjectionFeatureAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jetty6InjectionProvider

public Jetty6InjectionProvider()

Construct a new Jetty6InjectionProvider instance.

Method Detail

inject

public void inject(java.lang.Object managedBean)
            throws InjectionProviderException

The implementation of this method must perform the following steps:

This method must not invoke any methods annotated with @PostConstruct

Parameters:
managedBean - the target managed bean
Throws:
InjectionProviderException - if an error occurs during resource injection

invokePreDestroy

public void invokePreDestroy(java.lang.Object managedBean)
                      throws InjectionProviderException

The implemenation of this method must invoke any method marked with the @PreDestroy annotation (per the Common Annotations Specification).

Parameters:
managedBean - the target managed bean
Throws:
InjectionProviderException - if an error occurs when invoking the method annotated by the @PreDestroy annotation

invokePostConstruct

public void invokePostConstruct(java.lang.Object managedBean)
                         throws InjectionProviderException

The implemenation of this method must invoke any method marked with the @PostConstruct annotation (per the Common Annotations Specification).

Parameters:
managedBean - the target managed bean
Throws:
InjectionProviderException - if an error occurs when invoking the method annotated by the @PostConstruct annotation


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.