001: /*
002: * This file is part of the WfMOpen project.
003: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
004: * All rights reserved.
005: *
006: * This program is free software; you can redistribute it and/or modify
007: * it under the terms of the GNU General Public License as published by
008: * the Free Software Foundation; either version 2 of the License, or
009: * (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: * $Id: ThreadInfo.java,v 1.4 2007/05/25 11:04:37 drmlipp Exp $
021: *
022: * $Log: ThreadInfo.java,v $
023: * Revision 1.4 2007/05/25 11:04:37 drmlipp
024: * Old threadInfo resurrected for backward compatibility.
025: *
026: * Revision 1.2 2006/09/29 12:32:10 drmlipp
027: * Consistently using WfMOpen as projct name now.
028: *
029: * Revision 1.1.1.2 2004/08/18 15:17:36 drmlipp
030: * Update to 1.2
031: *
032: * Revision 1.3 2004/02/21 11:53:45 lipp
033: * Added serial verion uid as this class is stored in the data base.
034: *
035: * Revision 1.2 2003/06/27 08:51:46 lipp
036: * Fixed copyright/license information.
037: *
038: * Revision 1.1 2003/04/26 18:56:24 lipp
039: * Moved extended interfaces to own package.
040: *
041: * Revision 1.6 2003/04/25 14:50:59 lipp
042: * Fixed javadoc errors and warnings.
043: *
044: * Revision 1.5 2003/03/31 16:50:28 huaiyang
045: * Logging using common-logging.
046: *
047: * Revision 1.4 2003/01/29 15:51:31 lipp
048: * Loops should work now.
049: *
050: * Revision 1.3 2003/01/27 15:57:25 lipp
051: * Added loop detection.
052: *
053: * Revision 1.2 2003/01/24 20:33:23 lipp
054: * Fixed predecessor error.
055: *
056: * Revision 1.1 2003/01/24 16:47:09 lipp
057: * Implemented thread logging.
058: *
059: */
060: package de.danet.an.workflow.apix;
061:
062: import java.io.Serializable;
063:
064: import java.util.Map;
065: import java.util.Set;
066:
067: /**
068: * This class provides information about the predecessors of an
069: * activity, i.e. about the execution thread.
070: *
071: * The class has been moved to internalapi. This implementation is only provided
072: * for backward compatibility. Deserialization replaces instances with
073: * internalapi.ThreadInfo.
074: *
075: * @author <a href="mailto:lipp@danet.de"></a>
076: * @version $Revision: 1.4 $
077: * @deprecated replaced by ThreadInfo in internalapi.
078: */
079:
080: public class ThreadInfo implements Serializable {
081:
082: /** Serial version UID. */
083: static final long serialVersionUID = -1544095660974664207L;
084:
085: private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory
086: .getLog(ThreadInfo.class);
087:
088: private String actKey;
089: private Map preMap;
090: private Set preSet;
091:
092: /**
093: * Perform instance substitution during serialization.
094: */
095: private Object readResolve() {
096: return new de.danet.an.workflow.internalapi.ThreadInfo(preMap,
097: preSet);
098: }
099:
100: }
|