Interface ComponentNameGenerator
-
public interface ComponentNameGenerator
Interface which is used for generating component name.
-
-
Field Summary
Fields Modifier and Type Field Description static ComponentNameGenerator
DEFAULT
The defaultComponentNameGenerator
implementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> String
generate(ComponentDescriptor<T> descriptor)
Generates a component name for the specified component descriptor.
-
-
-
Field Detail
-
DEFAULT
static final ComponentNameGenerator DEFAULT
The defaultComponentNameGenerator
implementation.
-
-
Method Detail
-
generate
<T> String generate(ComponentDescriptor<T> descriptor)
Generates a component name for the specified component descriptor.- Type Parameters:
T
- the type of the component.- Parameters:
descriptor
- theSimpleComponentDescriptor
instance.- Returns:
- the generated component.
-
-