public class TypeResultSelector<T> extends BasicResultSelector<T>
Constructor and Description |
---|
TypeResultSelector()
Create a type result listener.
|
TypeResultSelector(Class<?> type)
Create a type result listener.
|
TypeResultSelector(Class<?> type,
boolean oneresult)
Create a type result listener.
|
TypeResultSelector(Class<?> type,
boolean oneresult,
boolean remote)
Create a type result listener.
|
TypeResultSelector(Class<?> type,
boolean oneresult,
boolean remote,
IFilter<T> filter)
Create a type result listener.
|
Modifier and Type | Method and Description |
---|---|
IService[] |
generateServiceArray(Map<Class<?>,Collection<IService>> servicemap)
Get all services of the map as linear collection.
|
Object |
getCacheKey()
Get the cache key.
|
Class<?> |
getType()
Get the type.
|
void |
setType(Class<?> type)
Set the type.
|
String |
toString()
Get the string representation.
|
getFilter, isFinished, isOneResult, selectServices, setFilter, setOneResult
public TypeResultSelector()
public TypeResultSelector(Class<?> type)
public TypeResultSelector(Class<?> type, boolean oneresult)
public TypeResultSelector(Class<?> type, boolean oneresult, boolean remote)
public IService[] generateServiceArray(Map<Class<?>,Collection<IService>> servicemap)
generateServiceArray
in class BasicResultSelector<T>
public Object getCacheKey()
getCacheKey
in interface IResultSelector
getCacheKey
in class BasicResultSelector<T>
public Class<?> getType()
public void setType(Class<?> type)
type
- The type to set.public String toString()
toString
in class BasicResultSelector<T>
Copyright © 2013. All Rights Reserved.