Uses of Class
org.apache.tapestry5.ioc.annotations.Contribute

Packages that use Contribute
org.apache.tapestry5.ioc.services   
org.apache.tapestry5.services   
 

Uses of Contribute in org.apache.tapestry5.ioc.services
 

Methods in org.apache.tapestry5.ioc.services with annotations of type Contribute
static void TapestryIOCModule.provideBasicTypeCoercions(Configuration<CoercionTuple> configuration)
          Contributes a set of standard type coercions to the TypeCoercer service: Object to String String to Double String to BigDecimal BigDecimal to Double Double to BigDecimal String to BigInteger BigInteger to Long String to Long Long to Byte Long to Short Long to Integer Double to Long Double to Float Float to Double Long to Double String to Boolean ("false" is always false, other non-blank strings are true) Long to Boolean (true if long value is non zero) Null to Boolean (always false) Collection to Boolean (false if empty) Object[] to List primitive[] to List Object to List (by wrapping as a singleton list) String to File String to TimeInterval TimeInterval to Long Object to Object[] (wrapping the object as an array) Collection to Object[] (via the toArray() method)
static void TapestryIOCModule.providePerthreadScope(MappedConfiguration<String,ServiceLifecycle> configuration)
          Contributes the "perthread" scope.
static void TapestryIOCModule.setupDefaultSymbols(MappedConfiguration<String,String> configuration)
           
static void TapestryIOCModule.setupObjectProviders(OrderedConfiguration<ObjectProvider> configuration, ServiceOverride serviceOverride)
           AnnotationBasedContributions Empty placeholder used to seperate annotation-based ObjectProvider contributions (which come before) from non-annotation based (ServiceOverride here, Alias in tapestry-core) which come after.
static void TapestryIOCModule.setupStandardSymbolProviders(OrderedConfiguration<SymbolProvider> configuration, SymbolProvider applicationDefaults, SymbolProvider factoryDefaults)
           
 

Uses of Contribute in org.apache.tapestry5.services
 

Methods in org.apache.tapestry5.services with annotations of type Contribute
static void TapestryModule.provideBaseAjaxComponentEventResultProcessors(MappedConfiguration<Class,ComponentEventResultProcessor> configuration)
          Contributes handlers for the following types: Object Failure case, added to provide more useful exception message RenderCommand Typically, a Block Component Renders the component and its body (unless its a page, in which case a redirect JSON response is sent) JSONObject or JSONArray The JSONObject is returned as a text/javascript response StreamResponse The stream response is sent as the actual response String Interprets the value as a logical page name and sends a client response to redirect to that page Link Sends a JSON response to redirect to the link Class Treats the class as a page class and sends a redirect for a page render for that page MultiZoneUpdate Sends a single JSON response to update the content of multiple zones In most cases, when you want to support a new type, you should convert it to one of the built-in supported types (such as RenderCommand.
static void TapestryModule.provideDefaultBeanBlocks(Configuration<BeanBlockContribution> configuration)
           
 



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.