org.jclouds.internal
Class FilterStringsBoundToInjectorByName

java.lang.Object
  extended by org.jclouds.internal.FilterStringsBoundToInjectorByName
All Implemented Interfaces:
com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>>

@Singleton
public class FilterStringsBoundToInjectorByName
extends Object
implements com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>>

finds all the named string bindings who's name annotation matches the filter. for convenience, the bindings are returned as a map.

Author:
Adrian Cole

Constructor Summary
FilterStringsBoundToInjectorByName(com.google.inject.Injector injector)
           
 
Method Summary
 Map<String,String> apply(com.google.common.base.Predicate<String> filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

FilterStringsBoundToInjectorByName

@Inject
public FilterStringsBoundToInjectorByName(com.google.inject.Injector injector)
Method Detail

apply

public Map<String,String> apply(com.google.common.base.Predicate<String> filter)
Specified by:
apply in interface com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>>


Copyright © 2009-2012 jclouds. All Rights Reserved.