org.jtoolkit.essence.utils
Interface Named.Source<T>

All Superinterfaces:
Named
All Known Subinterfaces:
Cluster, Container
All Known Implementing Classes:
ClusterComponentBuilder.ClusterCollectionData, ClusterEvent, DataValue, Event.StatusEvent, JvmMetrics, Named.ContextSource, Named.MapSource
Enclosing interface:
Named

public static interface Named.Source<T>
extends Named


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 Named.Source EMPTY_SOURCE
           
 
Method Summary
 java.util.Set<java.lang.String> getNames()
           
 T getValue(java.lang.String name)
           
 
Methods inherited from interface org.jtoolkit.essence.utils.Named
getName
 

Field Detail

EMPTY_SOURCE

static final Named.Source EMPTY_SOURCE
Method Detail

getNames

@NotNull
java.util.Set<java.lang.String> getNames()
Returns:
names available in this source.

getValue

@Nullable
T getValue(@NotNull
                    java.lang.String name)
Parameters:
name - of the object.
Returns:
the object in source or null.


Copyright © Peter Lawrey. All Rights Reserved.