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> java.util.Map<K,V>
getMappedConfiguration(java.lang.Class<K> keyType, java.lang.Class<V> valueType)
           
<T> java.util.List<T>
getOrderedConfiguration(java.lang.Class<T> valueType)
           
<T> java.util.Collection<T>
getUnorderedConfiguration(java.lang.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, proxy
 
Methods inherited from interface org.apache.tapestry5.ioc.ModuleBuilderSource
getModuleBuilder
 

Method Detail

getUnorderedConfiguration

<T> java.util.Collection<T> getUnorderedConfiguration(java.lang.Class<T> valueType)

getOrderedConfiguration

<T> java.util.List<T> getOrderedConfiguration(java.lang.Class<T> valueType)

getMappedConfiguration

<K,V> java.util.Map<K,V> getMappedConfiguration(java.lang.Class<K> keyType,
                                                java.lang.Class<V> valueType)


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