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: Configuration.java,v 1.4 2007/01/26 14:37:35 drmlipp Exp $
021: *
022: * $Log: Configuration.java,v $
023: * Revision 1.4 2007/01/26 14:37:35 drmlipp
024: * Made access to instance id public.
025: *
026: * Revision 1.3 2006/09/29 12:32:07 drmlipp
027: * Consistently using WfMOpen as projct name now.
028: *
029: * Revision 1.2 2004/08/19 13:24:49 drmlipp
030: * Fixed AVK errors and (many) warnings.
031: *
032: * Revision 1.1.1.1 2003/06/30 20:05:13 drmlipp
033: * Initial import
034: *
035: * Revision 1.5 2003/06/27 08:51:46 lipp
036: * Fixed copyright/license information.
037: *
038: * Revision 1.4 2002/08/30 21:32:07 lipp
039: * Finished transition to WorkflowEngine.
040: *
041: * Revision 1.3 2002/08/26 20:23:13 lipp
042: * Lots of method renames.
043: *
044: * Revision 1.2 2002/02/04 22:42:44 lipp
045: * Moved initProcessDefinitions and findActivity from Configuration user
046: * api to EJB remote interface.
047: *
048: * Revision 1.1 2002/01/15 15:07:08 robert
049: * replace Configuration interface from workflow/domain to workflow/api
050: *
051: * Revision 1.8 2002/01/09 14:48:51 lipp
052: * Changed access to current user as resource.
053: *
054: * Revision 1.7 2002/01/09 14:00:01 lipp
055: * Cleaned up relation between wfcore, resource assignment and resource
056: * management service.
057: *
058: * Revision 1.6 2002/01/09 09:59:13 robert
059: * javadoc
060: *
061: * Revision 1.5 2001/12/19 10:04:59 lipp
062: * ActivityFinder moved to ejbs/util.
063: *
064: * Revision 1.4 2001/12/17 15:51:55 lipp
065: * New methods for accessing services.
066: *
067: * Revision 1.3 2001/12/14 16:05:45 lipp
068: * Partial implementation of ActivityFinder.
069: *
070: * Revision 1.2 2001/12/14 13:28:25 lipp
071: * Cleaned up implementation structure of ProcessDefinitionDirectory,
072: * renamed Package to ProcessDirectoryPackage and restored initial load
073: * of process definitions.
074: *
075: * Revision 1.1 2001/12/04 13:58:40 ott
076: * new classes
077: *
078: *
079: */
080: package de.danet.an.workflow.api;
081:
082: import java.io.Serializable;
083: import java.rmi.RemoteException;
084:
085: /**
086: * Interface <code>Configuration</code>.
087: * Gives access to the configuration-methods.
088: */
089: public interface Configuration extends Serializable {
090:
091: /**
092: * Every workflow engine has a globally unique key. This key
093: * may be used in environments with several workflow
094: * engines to uniquely identify an instance. Note that this key should
095: * be bound to the data (state) of an engine, not to a deployment address.
096: * If an engine is moved to a different machine, but continues using
097: * the same data (i.e. all running processes remain the same etc.) then
098: * it should still provide the same instance key.
099: *
100: * @return the unique instance key
101: */
102: String workflowEngineInstanceKey() throws RemoteException;
103:
104: }
|