org.codehaus.waffle.registrar
Class AbstractReference

java.lang.Object
  extended by org.codehaus.waffle.registrar.AbstractReference
All Implemented Interfaces:
Reference
Direct Known Subclasses:
ComponentReference, RequestAttributeReference, RequestParameterReference, ServletContextAttributeReference, SessionAttributeReference

public abstract class AbstractReference
extends java.lang.Object
implements Reference

Simple abstract implementation which manages the associated key.

Author:
Michael Ward

Constructor Summary
AbstractReference(java.lang.Object key)
           
 
Method Summary
 java.lang.Object getKey()
          A key is used to indicate what is being referenced.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReference

public AbstractReference(java.lang.Object key)
Method Detail

getKey

public java.lang.Object getKey()
Description copied from interface: Reference
A key is used to indicate what is being referenced.

Specified by:
getKey in interface Reference
Returns:
the key pointing to the referenced item.


Copyright © 2008. All Rights Reserved.