org.jtoolkit.essence.app
Interface ComponentBuilder

All Superinterfaces:
Named
All Known Implementing Classes:
CacheComponentBuilder, ClusterComponentBuilder, CollectionComponentBuilder

public interface ComponentBuilder
extends Named

This interface defines a customer component builders. Additional component builders can be added via the ComponentBuilders table in the configuration.

Author:
Peter Lawrey

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jtoolkit.essence.utils.Named
Named.ContextSource<T>, Named.MapSource<T>, Named.Source<T>
 
Field Summary
static java.lang.String ATTEMPTED_TO_GET_COMPONENT
           
 
Method Summary
<T> T
resolveComponent(java.lang.String componentName, java.lang.Class<T> type)
           
 
Methods inherited from interface org.jtoolkit.essence.utils.Named
getName
 

Field Detail

ATTEMPTED_TO_GET_COMPONENT

static final java.lang.String ATTEMPTED_TO_GET_COMPONENT
See Also:
Constant Field Values
Method Detail

resolveComponent

@Nullable
<T> T resolveComponent(@NotNull
                                java.lang.String componentName,
                                @Nullable
                                java.lang.Class<T> type)
                   throws java.lang.IllegalStateException,
                          java.lang.IllegalArgumentException
Throws:
java.lang.IllegalStateException
java.lang.IllegalArgumentException


Copyright © Peter Lawrey. All Rights Reserved.