org.equanda.tapestry5.bindings
Class ManifestBindingPrefix

java.lang.Object
  extended by org.equanda.tapestry5.bindings.ManifestBindingPrefix
All Implemented Interfaces:
org.apache.tapestry5.Binding, org.apache.tapestry5.ioc.AnnotationProvider

public class ManifestBindingPrefix
extends Object
implements org.apache.tapestry5.Binding

Binding prefix which allows you to get a value from a manifest file. As multiple files may contain a value for the same key, the first encountered is used.

Author:
Joachim Van der Auwera

Constructor Summary
ManifestBindingPrefix(String expression)
           
 
Method Summary
 Object get()
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 Class getBindingType()
           
 boolean isInvariant()
           
 void set(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestBindingPrefix

public ManifestBindingPrefix(String expression)
Method Detail

get

public Object get()
Specified by:
get in interface org.apache.tapestry5.Binding

getBindingType

public Class getBindingType()
Specified by:
getBindingType in interface org.apache.tapestry5.Binding

isInvariant

public boolean isInvariant()
Specified by:
isInvariant in interface org.apache.tapestry5.Binding

set

public void set(Object value)
Specified by:
set in interface org.apache.tapestry5.Binding

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in interface org.apache.tapestry5.ioc.AnnotationProvider


Copyright © 2007-2009. All Rights Reserved.