|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.jclouds.JcloudsProducer
org.apache.camel.component.jclouds.JcloudsComputeProducer
public class JcloudsComputeProducer
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultProducer |
|---|
log |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
JcloudsComputeProducer(JcloudsEndpoint endpoint,
org.jclouds.compute.ComputeService computeService)
|
|
| Method Summary | |
|---|---|
protected void |
createNode(org.apache.camel.Exchange exchange)
Create a node with the specified group. |
protected void |
destroyNode(org.apache.camel.Exchange exchange)
Destroys the node with the specified nodeId. |
protected String |
getGroup(org.apache.camel.Exchange exchange)
Retrieves the group from the URI or from the exchange headers. |
protected String |
getHardwareId(org.apache.camel.Exchange exchange)
Retrieves the hardware id from the URI or from the exchange headers. |
protected String |
getImageId(org.apache.camel.Exchange exchange)
Retrieves the image id from the URI or from the exchange properties. |
protected String |
getLocationId(org.apache.camel.Exchange exchange)
Retrieves the location id from the URI or from the exchange headers. |
protected String |
getNodeId(org.apache.camel.Exchange exchange)
Retrieves the node id from the URI or from the exchange headers. |
String |
getOperation(org.apache.camel.Exchange exchange)
Retrieves the operation from the URI or from the exchange headers. |
protected String |
getUser(org.apache.camel.Exchange exchange)
Retrieves the user from the URI or from the exchange headers. |
protected void |
listHardware(org.apache.camel.Exchange exchange)
Sets the available hardware profiles to the out message. |
protected void |
listImages(org.apache.camel.Exchange exchange)
Sets the available images to the out message. |
protected void |
listNodes(org.apache.camel.Exchange exchange)
Sets the metadata of the available nodes to the out message. |
void |
process(org.apache.camel.Exchange exchange)
|
protected void |
runScriptOnNode(org.apache.camel.Exchange exchange)
Runs a script on the target node. |
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
|---|
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public JcloudsComputeProducer(JcloudsEndpoint endpoint,
org.jclouds.compute.ComputeService computeService)
| Method Detail |
|---|
public void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.Processorprocess in class JcloudsProducerException
protected void createNode(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelException
protected void runScriptOnNode(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelException
protected void destroyNode(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelException
protected void listNodes(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelException
protected void listImages(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelException
protected void listHardware(org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelException
exchange -
org.apache.camel.CamelExceptionpublic String getOperation(org.apache.camel.Exchange exchange)
exchange -
protected String getImageId(org.apache.camel.Exchange exchange)
exchange -
protected String getHardwareId(org.apache.camel.Exchange exchange)
exchange -
protected String getLocationId(org.apache.camel.Exchange exchange)
exchange -
protected String getNodeId(org.apache.camel.Exchange exchange)
exchange -
protected String getGroup(org.apache.camel.Exchange exchange)
exchange -
protected String getUser(org.apache.camel.Exchange exchange)
exchange -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||