|  Known Direct Subclasses | 
Class Overview
JobFactory implementation that supports java.lang.Runnable
 objects as well as standard Quartz org.quartz.Job instances.
  
 
Summary
| Public Methods | 
|---|
	 
    
        | Job | newJob(TriggerFiredBundle bundle) | 
| Protected Methods | 
|---|
	 
    
        | Job | adaptJob(Object jobObject) Adapt the given job object to the Quartz Job interface. | 
	 
    
        | Object | createJobInstance(TriggerFiredBundle bundle) Create an instance of the specified job class. | 
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() |  
        | boolean | equals(Object arg0) |  
        | void | finalize() |  
        | final
            
            
            Class<?> | getClass() |  
        | int | hashCode() |  
        | final
            
            
            void | notify() |  
        | final
            
            
            void | notifyAll() |  
        | String | toString() |  
        | final
            
            
            void | wait() |  
        | final
            
            
            void | wait(long arg0, int arg1) |  
        | final
            
            
            void | wait(long arg0) |  | 
 
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      AdaptableJobFactory
      ()
    
      
    
 
Public Methods
 
    
      
        public 
         
         
         
         
        Job
      
      newJob
      (TriggerFiredBundle bundle)
    
      
    
 
Protected Methods
 
    
      
        protected 
         
         
         
         
        Job
      
      adaptJob
      (Object jobObject)
    
      
    
      
  Adapt the given job object to the Quartz Job interface.
 
The default implementation supports straight Quartz Jobs
 as well as Runnables, which get wrapped in a DelegatingJob.
      Parameters
      
        
          | jobObject | the original instance of the specified job class | 
      
   
  
      Returns
      - the adapted Quartz Job instance
 
  
      Throws
        
        
            | Exception | if the given job could not be adapted | 
      
   
  
     
 
 
    
      
        protected 
         
         
         
         
        Object
      
      createJobInstance
      (TriggerFiredBundle bundle)
    
      
    
      
  Create an instance of the specified job class.
 
Can be overridden to post-process the job instance.
      Parameters
      
        
          | bundle | the TriggerFiredBundle from which the JobDetail
 and other info relating to the trigger firing can be obtained |