org.apache.tapestry5.ioc
Interface ServiceBuilderResources

All Superinterfaces:
AnnotationAccess, ModuleBuilderSource, ObjectLocator, ServiceResources
All Known Implementing Classes:
ServiceResourcesImpl

public interface ServiceBuilderResources
extends ServiceResources, ModuleBuilderSource

Extends ServiceResources with additional methods needed only by the service builder method, related to accessing a service's configuration. Services may have a single configuration in one of three flavors: unordered, ordered or mapped.


Method Summary
<K,V> Map<K,V>
getMappedConfiguration(Class<K> keyType, Class<V> valueType)
           
<T> List<T>
getOrderedConfiguration(Class<T> valueType)
           
<T> Collection<T>
getUnorderedConfiguration(Class<T> valueType)
           
 
Methods inherited from interface org.apache.tapestry5.ioc.ServiceResources
getImplementationClass, getLogger, getServiceId, getServiceInterface, getTracker
 
Methods inherited from interface org.apache.tapestry5.ioc.ObjectLocator
autobuild, autobuild, getObject, getService, getService, getService, proxy
 
Methods inherited from interface org.apache.tapestry5.ioc.AnnotationAccess
getClassAnnotationProvider, getMethodAnnotationProvider
 
Methods inherited from interface org.apache.tapestry5.ioc.ModuleBuilderSource
getModuleBuilder
 

Method Detail

getUnorderedConfiguration

<T> Collection<T> getUnorderedConfiguration(Class<T> valueType)

getOrderedConfiguration

<T> List<T> getOrderedConfiguration(Class<T> valueType)

getMappedConfiguration

<K,V> Map<K,V> getMappedConfiguration(Class<K> keyType,
                                      Class<V> valueType)


Copyright © 2003-2012 The Apache Software Foundation.