|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.web.resources.CamelContextResource
@Singleton public class CamelContextResource
The root Camel resource from which all other resources can be navigated such as for endpoints
or routes
| Constructor Summary | |
|---|---|
CamelContextResource(CamelContext camelContext)
|
|
| Method Summary | |
|---|---|
void |
close()
|
Camel |
getCamel()
Returns the XML or JSON representation of the CamelContext |
CamelContext |
getCamelContext()
|
ComponentsResource |
getComponents()
Returns the active components |
ConvertersResource |
getConvertersResource()
Returns the active type converters |
EndpointsResource |
getEndpointsResource()
Returns the active endpoints |
LanguagesResource |
getLanguages()
Returns the active languages |
String |
getName()
|
RoutesResource |
getRoutesResource()
Returns the active routes |
Map<Object,Object> |
getSystemProperties()
Returns the system properties |
ProducerTemplate |
getTemplate()
|
String |
getVersion()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CamelContextResource(@InjectParam
CamelContext camelContext)
throws Exception
Exception| Method Detail |
|---|
public CamelContext getCamelContext()
public ProducerTemplate getTemplate()
public String getName()
public String getVersion()
@PreDestroy
public void close()
throws Exception
Exceptionpublic Map<Object,Object> getSystemProperties()
public Camel getCamel()
public ComponentsResource getComponents()
public ConvertersResource getConvertersResource()
public EndpointsResource getEndpointsResource()
public LanguagesResource getLanguages()
public RoutesResource getRoutesResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||