org.codehaus.waffle.registrar
Class ServletContextAttributeReference

java.lang.Object
  extended by org.codehaus.waffle.registrar.AbstractReference
      extended by org.codehaus.waffle.registrar.ServletContextAttributeReference
All Implemented Interfaces:
Reference

public class ServletContextAttributeReference
extends AbstractReference

Allows for a component dependency to be resolved from a ServletContext attribute.

Author:
Michael Ward

Constructor Summary
ServletContextAttributeReference(java.lang.String key)
           
 
Method Summary
static ServletContextAttributeReference servletContextAttribute(java.lang.String key)
          This method can be statically imported into an Application's Registrar allowing for a more fluent interface to define components and their dependencies
 
Methods inherited from class org.codehaus.waffle.registrar.AbstractReference
getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextAttributeReference

public ServletContextAttributeReference(java.lang.String key)
Parameters:
key - is the String specifying the name of the ServletContext attribute.
Method Detail

servletContextAttribute

public static ServletContextAttributeReference servletContextAttribute(java.lang.String key)
This method can be statically imported into an Application's Registrar allowing for a more fluent interface to define components and their dependencies

Parameters:
key - is the String specifying the name of the ServletContext attribute.


Copyright © 2008. All Rights Reserved.