// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptor.java
// public interface FlowInstanceDescriptor {
// 
//     String getFlowDefinitionId();
// 
//     String getStateDefinitionId();
// 
//     void setStateDefinitionId(String stateDefinitionId);
// 
//     void setFlowDefinitionId(String flowDefinitionId);
// 
//     void setDateEntered(Date date);
// 
//     Date getDateEntered();
// 
//     boolean isWithTimeouts();
// 
//     void setWithTimeouts(boolean hasTimeouts);
//     
// }


import org.springframework.extensions.workflow.instance.FlowInstanceDescriptor;
package org.springframework.extensions.workflow.context;


/**
 * @author janm
 */
public class ThreadLocalFlowInstanceDescriptorHolderStrategy implements FlowInstanceDescriptorHolderStrategy {
    private static final long serialVersionUID = 5846317781576476233L;
// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptor.java
// public interface FlowInstanceDescriptor {
// 
//     String getFlowDefinitionId();
// 
//     String getStateDefinitionId();
// 
//     void setStateDefinitionId(String stateDefinitionId);
// 
//     void setFlowDefinitionId(String flowDefinitionId);
// 
//     void setDateEntered(Date date);
// 
//     Date getDateEntered();
// 
//     boolean isWithTimeouts();
// 
//     void setWithTimeouts(boolean hasTimeouts);
//     
// }


// Path: src/main/java/org/springframework/extensions/workflow/context/ThreadLocalFlowInstanceDescriptorHolderStrategy.java
import org.springframework.extensions.workflow.instance.FlowInstanceDescriptor;

package org.springframework.extensions.workflow.context;


/**
 * @author janm
 */
public class ThreadLocalFlowInstanceDescriptorHolderStrategy implements FlowInstanceDescriptorHolderStrategy {
    private static final long serialVersionUID = 5846317781576476233L;
    private ThreadLocal<FlowInstanceDescriptor> descriptorThreadLocal;