|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementNameStrategy
Strategy for assigning the name part of the ObjectName
for a managed CamelContext
.
CamelContextNameStrategy
,
DefaultManagementNameStrategy
Method Summary | |
---|---|
String |
getName()
Gets the name The isFixedName() determines if the name can be re-calculated such as when using a counter,
or the name is always fixed. |
String |
getNamePattern()
Gets the custom name pattern. |
String |
getNextName()
Gets the next calculated name, if this strategy is not using fixed names. |
boolean |
isFixedName()
Whether the name will be fixed, or allow re-calculation such as by using an unique counter. |
void |
setNamePattern(String pattern)
Sets a custom name pattern, which will be used instead of any default patterns. |
Method Detail |
---|
String getNamePattern()
void setNamePattern(String pattern)
pattern
- a custom name pattern.String getName()
isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.
String getNextName()
isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.
boolean isFixedName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |