From: Julio G. <ju...@us...> - 2005-04-20 17:50:15
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/prim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11368/smartfrog/src/org/smartfrog/sfcore/prim Modified Files: prim.sf Added Files: primlean.sf Log Message: Schemas - not finished yet Index: prim.sf =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/prim/prim.sf,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** prim.sf 20 Apr 2005 14:22:27 -0000 1.7 --- prim.sf 20 Apr 2005 17:50:03 -0000 1.8 *************** *** 26,30 **** //Schema SchemaPrim extends Schema { ! sfClass extends String {description "class that implements component"; } sfCodeBase extends Optional {description "codebase used during dynamic classloading"; } sfDeployerClass extends OptionalString {description "deployer class";} --- 26,30 ---- //Schema SchemaPrim extends Schema { ! sfClass extends Optional {description "class that implements component"; } //It is mandatory but check is done at runtime sfCodeBase extends Optional {description "codebase used during dynamic classloading"; } sfDeployerClass extends OptionalString {description "deployer class";} *************** *** 47,52 **** sfCodeBase "default"; Prim extends NULL { ! // schemaPrim extends SchemaPrim; sfCodeBase PARENT:ATTRIB sfCodeBase; // sfDeployerClass "org.smartfrog.sfcore.processcompound.PrimProcessDeployerImpl"; --- 47,53 ---- sfCodeBase "default"; + //Prim with any schema Prim extends NULL { ! schemaPrim extends SchemaPrim; sfCodeBase PARENT:ATTRIB sfCodeBase; // sfDeployerClass "org.smartfrog.sfcore.processcompound.PrimProcessDeployerImpl"; *************** *** 57,58 **** --- 58,60 ---- // sfLog "name"; //optional attribute to define a log name for a component. } + --- NEW FILE: primlean.sf --- /** (C) Copyright 1998-2004 Hewlett-Packard Development Company, LP This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For more information: www.smartfrog.org */ /** Defines the basic primitive components. * Unless liveness values are set here (or in the * the descriptions) the values from the processcompound.sf * are used */ sfCodeBase "default"; //Prim with schema Prim extends NULL { sfCodeBase PARENT:ATTRIB sfCodeBase; } |