org.apache.tapestry5.ioc
Interface ServiceBuilderResources

All Superinterfaces:
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
getLogger, getServiceId, getServiceInterface, getTracker
 
Methods inherited from interface org.apache.tapestry5.ioc.ObjectLocator
autobuild, getObject, getService, getService, proxy
 
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 © 2006-2009 Apache Software Foundation. All Rights Reserved.