org.pentaho.platform.scheduler2.ws
Class JobAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<JobAdapter.JaxbSafeJob,Job>
      extended by org.pentaho.platform.scheduler2.ws.JobAdapter

public class JobAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<JobAdapter.JaxbSafeJob,Job>

Handles the sending of JobAdapter.JaxbSafeJob objects over JAXWS webservices by utilizing JobAdapter.JaxbSafeJob as a transport type.

Author:
aphillips

Nested Class Summary
static class JobAdapter.JaxbSafeJob
           
 
Constructor Summary
JobAdapter()
           
 
Method Summary
 JobAdapter.JaxbSafeJob marshal(Job job)
           
 Job unmarshal(JobAdapter.JaxbSafeJob jaxbSafeJob)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobAdapter

public JobAdapter()
Method Detail

marshal

public JobAdapter.JaxbSafeJob marshal(Job job)
                               throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JobAdapter.JaxbSafeJob,Job>
Throws:
Exception

unmarshal

public Job unmarshal(JobAdapter.JaxbSafeJob jaxbSafeJob)
              throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JobAdapter.JaxbSafeJob,Job>
Throws:
Exception