|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.impl.ExplicitCamelContextNameStrategy
public class ExplicitCamelContextNameStrategy
Strategy to used an explicit (fixed) name for CamelContext
.
Constructor Summary | |
---|---|
ExplicitCamelContextNameStrategy(String name)
|
Method Summary | |
---|---|
String |
getName()
Gets the name The CamelContextNameStrategy.isFixedName() determines if the name can be re-calculated such as when using a counter,
or the name is always fixed. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExplicitCamelContextNameStrategy(String name)
Method Detail |
---|
public String getName()
CamelContextNameStrategy
CamelContextNameStrategy.isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.
getName
in interface CamelContextNameStrategy
public String getNextName()
CamelContextNameStrategy
CamelContextNameStrategy.isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.
getNextName
in interface CamelContextNameStrategy
public boolean isFixedName()
CamelContextNameStrategy
isFixedName
in interface CamelContextNameStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |