org.oddjob.scheduling
Class JobToken
java.lang.Object
org.oddjob.scheduling.JobToken
- All Implemented Interfaces:
- Serializable
public class JobToken
- extends Object
- implements Serializable
- See Also:
- Serialized Form
create
public static JobToken create(BeanRegistry registry,
Object job)
- Create a job token for the given job using the given registry.
- Parameters:
registry
- The component registry.job
- The job.
- Returns:
retrieve
public static Object retrieve(BeanDirectory registry,
JobToken token)
throws ArooaPropertyException
- Retrieve a job from a ComponentRegistry from it's token.
- Parameters:
registry
- The component registry.token
- The job token.
- Returns:
- The actual job.
- Throws:
ArooaPropertyException
toString
public String toString()
- Overrides:
toString
in class Object