public interface IsSingleton
isSingleton() instead
of instanceof(IsSingleton)). This allows for subclasses to have a singleton status different from a parent
and for objects to have this value dynamically changed.
Camel component are very often singleton based, only a few components are not.| Modifier and Type | Method and Description |
|---|---|
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
Apache Camel