org.jtoolkit.essence.data
Class CollectionComponentBuilder
java.lang.Object
org.jtoolkit.essence.data.CollectionComponentBuilder
- All Implemented Interfaces:
- ComponentBuilder, Named
public class CollectionComponentBuilder
- extends java.lang.Object
- implements ComponentBuilder
Build Store/Map/Queues from the Collections table in the container configuration.
- Author:
- Peter Lawrey
|
Method Summary |
java.lang.String |
getName()
|
|
resolveComponent(java.lang.String componentName,
java.lang.Class<T> type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionComponentBuilder
public CollectionComponentBuilder(@NotNull
java.lang.String name,
@NotNull
Container container)
throws java.lang.InstantiationException
- Throws:
java.lang.InstantiationException
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName in interface Named
- Returns:
- A printable name.
resolveComponent
@Nullable
public <T> T resolveComponent(@NotNull
java.lang.String componentName,
@Nullable
java.lang.Class<T> type)
throws java.lang.IllegalStateException,
java.lang.IllegalArgumentException
- Specified by:
resolveComponent in interface ComponentBuilder
- Throws:
java.lang.IllegalStateException
java.lang.IllegalArgumentException
Copyright © Peter Lawrey. All Rights Reserved.