com.levigo.util.base
Interface Resolver<T,E extends Throwable>
- Type Parameters:
T
- the type of object that will be returned.
public interface Resolver<T,E extends Throwable>
An object capable of resolving an instance of type T
based on a given name.
Method Summary |
T |
resolve(String name)
Resolves an instance of T which is identified by the given name. |
resolve
T resolve(String name)
throws E extends Throwable
- Resolves an instance of
T
which is identified by the given name. Whether this method
may be called more that one time is not specified. Supporting multiple calls is up to the
implementation.
- Parameters:
name
- the name of the entity to resolve
- Returns:
-
- Throws:
E extends Throwable
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.