Class WildcardSupportingMap<T>
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.WildcardSupportingMap<T>
-
public class WildcardSupportingMap<T> extends java.lang.Object
Utility class that manages mappings from entity types/codes (possibly including wildcards) to IServerPlugin objects.
-
-
Constructor Summary
Constructors Constructor Description WildcardSupportingMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addThingMapping(EntityKindAndTypeCode entityKindAndCode, T thing)
Add a mapping from the entity kind/code to a factory.protected T
tryThing(EntityKindAndTypeCode entityKindAndCode)
Return the first factory that matches the given entityKindAndCode, or null if none is found.
-
-
-
Method Detail
-
addThingMapping
protected void addThingMapping(EntityKindAndTypeCode entityKindAndCode, T thing)
Add a mapping from the entity kind/code to a factory.
-
tryThing
protected T tryThing(EntityKindAndTypeCode entityKindAndCode)
Return the first factory that matches the given entityKindAndCode, or null if none is found.
-
-