org.apache.camel.karaf.commands
Class EndpointList

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.camel.karaf.commands.EndpointList
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class EndpointList
extends org.apache.karaf.shell.console.OsgiCommandSupport

List the Camel endpoints available in the Karaf instance.


Field Summary
protected static String HEADER_FORMAT
           
protected static String OUTPUT_FORMAT
           
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
EndpointList()
           
 
Method Summary
protected  Object doExecute()
           
protected  String getState(org.apache.camel.Endpoint endpoint)
           
 void setCamelController(CamelController camelController)
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_FORMAT

protected static final String HEADER_FORMAT
See Also:
Constant Field Values

OUTPUT_FORMAT

protected static final String OUTPUT_FORMAT
See Also:
Constant Field Values
Constructor Detail

EndpointList

public EndpointList()
Method Detail

setCamelController

public void setCamelController(CamelController camelController)

doExecute

protected Object doExecute()
                    throws Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
Exception

getState

protected String getState(org.apache.camel.Endpoint endpoint)


Apache CAMEL