ejtools-cvs Mailing List for EJTools (Page 4)
Brought to you by:
letiemble
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(471) |
May
(303) |
Jun
(176) |
Jul
(67) |
Aug
(64) |
Sep
(84) |
Oct
(148) |
Nov
(57) |
Dec
(272) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(356) |
Feb
(304) |
Mar
(214) |
Apr
(22) |
May
(7) |
Jun
(25) |
Jul
|
Aug
(5) |
Sep
(106) |
Oct
|
Nov
(95) |
Dec
(193) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: <let...@us...> - 2003-12-14 10:42:26
|
Update of /cvsroot/ejtools/libraries/common/src/resources/org/ejtools In directory sc8-pr-cvs1:/tmp/cvs-serv12420/common/src/resources/org/ejtools Log Message: Directory /cvsroot/ejtools/libraries/common/src/resources/org/ejtools added to the repository |
From: <let...@us...> - 2003-12-14 10:42:24
|
Update of /cvsroot/ejtools/libraries/common/src/test/test/util/service In directory sc8-pr-cvs1:/tmp/cvs-serv11933/common/src/test/test/util/service Log Message: Directory /cvsroot/ejtools/libraries/common/src/test/test/util/service added to the repository |
Update of /cvsroot/ejtools/libraries/j2ee.management/xdocs/images In directory sc8-pr-cvs1:/tmp/cvs-serv9476/xdocs/images Added Files: statistics-overview.png stats-ejb.png stats-jca.png stats-jdbc.png stats-jms.png Log Message: Add up-to-date JSR77 implementation. Can skip the Sun one. --- NEW FILE: statistics-overview.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stats-ejb.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stats-jca.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stats-jdbc.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stats-jms.png --- (This appears to be a binary file; contents omitted.) |
From: <let...@us...> - 2003-12-14 10:42:15
|
Update of /cvsroot/ejtools/libraries/j2ee.management/xdocs In directory sc8-pr-cvs1:/tmp/cvs-serv9476/xdocs Added Files: index.xml Log Message: Add up-to-date JSR77 implementation. Can skip the Sun one. --- NEW FILE: index.xml --- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- # ================================================================================ # EJTools, the Enterprise Java Tools # # Distributable under LGPL license. # See terms of license at gnu.org. # # $Revision: 1.1 $ # ================================================================================ --> <document> <properties> <title>J2EE Management Library</title> </properties> <body> <section name="J2EE Management Library"> <subsection name="Overview"> <p>This library contains the classes defined by the J2EE Management API (JSR 77).</p> </subsection> </section> </body> </document> |
From: <let...@us...> - 2003-12-14 10:42:11
|
Update of /cvsroot/ejtools/libraries/j2ee.management/src/main/javax/management/j2ee In directory sc8-pr-cvs1:/tmp/cvs-serv7401/src/main/javax/management/j2ee Log Message: Directory /cvsroot/ejtools/libraries/j2ee.management/src/main/javax/management/j2ee added to the repository |
From: <let...@us...> - 2003-12-14 10:42:08
|
Update of /cvsroot/ejtools/libraries/j2ee.management/src/main In directory sc8-pr-cvs1:/tmp/cvs-serv5560/src/main Log Message: Directory /cvsroot/ejtools/libraries/j2ee.management/src/main added to the repository |
From: <let...@us...> - 2003-12-14 10:42:06
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test/enterprise/deploy/spi In directory sc8-pr-cvs1:/tmp/cvs-serv4692/src/test/test/enterprise/deploy/spi Added Files: AdvancedDeploymentManager.java BasicDeploymentManager.java Log Message: Add up-to-date implementation for the JSR 88. No need for the Sun one. --- NEW FILE: AdvancedDeploymentManager.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package test.enterprise.deploy.spi; import java.io.File; import java.io.InputStream; import java.util.Locale; import javax.enterprise.deploy.model.DeployableObject; import javax.enterprise.deploy.shared.DConfigBeanVersionType; import javax.enterprise.deploy.shared.ModuleType; import javax.enterprise.deploy.spi.DeploymentConfiguration; import javax.enterprise.deploy.spi.DeploymentManager; import javax.enterprise.deploy.spi.Target; import javax.enterprise.deploy.spi.TargetModuleID; import javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException; import javax.enterprise.deploy.spi.exceptions.InvalidModuleException; import javax.enterprise.deploy.spi.exceptions.TargetException; import javax.enterprise.deploy.spi.status.ProgressObject; /** * Description of the Class * * @author Laurent Etiemble * @version $Revision: 1.1 $ */ public class AdvancedDeploymentManager implements DeploymentManager { private boolean connected = true; private String uri; /** * Constructor for the BasicDeploymentManager object * * @param uri Description of the Parameter */ public AdvancedDeploymentManager(String uri) { this.uri = uri; } /** * Description of the Method * * @param dObj Description of the Parameter * @return Description of the Return Value * @exception InvalidModuleException Description of the Exception */ public DeploymentConfiguration createConfiguration(DeployableObject dObj) throws InvalidModuleException { return null; } /** * Description of the Method * * @param targetList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject distribute(Target[] targetList, File moduleArchive, File deploymentPlan) throws IllegalStateException { return null; } /** * Description of the Method * * @param targetList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject distribute(Target[] targetList, InputStream moduleArchive, InputStream deploymentPlan) throws IllegalStateException { return null; } /** * Gets the availableModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The availableModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getAvailableModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the currentLocale attribute of the BasicDeploymentManager object * * @return The currentLocale value */ public Locale getCurrentLocale() { return null; } /** * Gets the dConfigBeanVersion attribute of the BasicDeploymentManager object * * @return The dConfigBeanVersion value */ public DConfigBeanVersionType getDConfigBeanVersion() { return null; } /** * Gets the defaultLocale attribute of the BasicDeploymentManager object * * @return The defaultLocale value */ public Locale getDefaultLocale() { return null; } /** * Gets the nonRunningModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The nonRunningModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getNonRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the runningModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The runningModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the supportedLocales attribute of the BasicDeploymentManager object * * @return The supportedLocales value */ public Locale[] getSupportedLocales() { return null; } /** * Gets the targets attribute of the BasicDeploymentManager object * * @return The targets value * @exception IllegalStateException Description of the Exception */ public Target[] getTargets() throws IllegalStateException { return null; } /** * Gets the dConfigBeanVersionSupported attribute of the BasicDeploymentManager * object * * @param version Description of the Parameter * @return The dConfigBeanVersionSupported value */ public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version) { return false; } /** * Gets the localeSupported attribute of the BasicDeploymentManager object * * @param locale Description of the Parameter * @return The localeSupported value */ public boolean isLocaleSupported(Locale locale) { return false; } /** * Gets the redeploySupported attribute of the BasicDeploymentManager object * * @return The redeploySupported value */ public boolean isRedeploySupported() { return false; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception UnsupportedOperationException Description of the Exception * @exception IllegalStateException Description of the Exception */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan) throws UnsupportedOperationException, IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception UnsupportedOperationException Description of the Exception * @exception IllegalStateException Description of the Exception */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) throws UnsupportedOperationException, IllegalStateException { return null; } /** Description of the Method */ public void release() { } /** * Sets the dConfigBeanVersion attribute of the BasicDeploymentManager object * * @param version The new dConfigBeanVersion * value * @exception DConfigBeanVersionUnsupportedException Description of the Exception */ public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException { } /** * Sets the locale attribute of the BasicDeploymentManager object * * @param locale The new locale value * @exception UnsupportedOperationException Description of the Exception */ public void setLocale(Locale locale) throws UnsupportedOperationException { } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject start(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject stop(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject undeploy(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } } --- NEW FILE: BasicDeploymentManager.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package test.enterprise.deploy.spi; import java.io.File; import java.io.InputStream; import java.util.Locale; import javax.enterprise.deploy.model.DeployableObject; import javax.enterprise.deploy.shared.DConfigBeanVersionType; import javax.enterprise.deploy.shared.ModuleType; import javax.enterprise.deploy.spi.DeploymentConfiguration; import javax.enterprise.deploy.spi.DeploymentManager; import javax.enterprise.deploy.spi.Target; import javax.enterprise.deploy.spi.TargetModuleID; import javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException; import javax.enterprise.deploy.spi.exceptions.InvalidModuleException; import javax.enterprise.deploy.spi.exceptions.TargetException; import javax.enterprise.deploy.spi.status.ProgressObject; /** * Description of the Class * * @author Laurent Etiemble * @version $Revision: 1.1 $ */ public class BasicDeploymentManager implements DeploymentManager { private boolean connected = false; private String uri; /** * Constructor for the BasicDeploymentManager object * * @param uri Description of the Parameter */ public BasicDeploymentManager(String uri) { this.uri = uri; } /** * Description of the Method * * @param dObj Description of the Parameter * @return Description of the Return Value * @exception InvalidModuleException Description of the Exception */ public DeploymentConfiguration createConfiguration(DeployableObject dObj) throws InvalidModuleException { return null; } /** * Description of the Method * * @param targetList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject distribute(Target[] targetList, File moduleArchive, File deploymentPlan) throws IllegalStateException { return null; } /** * Description of the Method * * @param targetList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject distribute(Target[] targetList, InputStream moduleArchive, InputStream deploymentPlan) throws IllegalStateException { return null; } /** * Gets the availableModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The availableModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getAvailableModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the currentLocale attribute of the BasicDeploymentManager object * * @return The currentLocale value */ public Locale getCurrentLocale() { return null; } /** * Gets the dConfigBeanVersion attribute of the BasicDeploymentManager object * * @return The dConfigBeanVersion value */ public DConfigBeanVersionType getDConfigBeanVersion() { return null; } /** * Gets the defaultLocale attribute of the BasicDeploymentManager object * * @return The defaultLocale value */ public Locale getDefaultLocale() { return null; } /** * Gets the nonRunningModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The nonRunningModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getNonRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the runningModules attribute of the BasicDeploymentManager object * * @param moduleType Description of the Parameter * @param targetList Description of the Parameter * @return The runningModules value * @exception TargetException Description of the Exception * @exception IllegalStateException Description of the Exception */ public TargetModuleID[] getRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException, IllegalStateException { return null; } /** * Gets the supportedLocales attribute of the BasicDeploymentManager object * * @return The supportedLocales value */ public Locale[] getSupportedLocales() { return null; } /** * Gets the targets attribute of the BasicDeploymentManager object * * @return The targets value * @exception IllegalStateException Description of the Exception */ public Target[] getTargets() throws IllegalStateException { return null; } /** * Gets the dConfigBeanVersionSupported attribute of the BasicDeploymentManager * object * * @param version Description of the Parameter * @return The dConfigBeanVersionSupported value */ public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version) { return false; } /** * Gets the localeSupported attribute of the BasicDeploymentManager object * * @param locale Description of the Parameter * @return The localeSupported value */ public boolean isLocaleSupported(Locale locale) { return false; } /** * Gets the redeploySupported attribute of the BasicDeploymentManager object * * @return The redeploySupported value */ public boolean isRedeploySupported() { return false; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception UnsupportedOperationException Description of the Exception * @exception IllegalStateException Description of the Exception */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan) throws UnsupportedOperationException, IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @param moduleArchive Description of the Parameter * @param deploymentPlan Description of the Parameter * @return Description of the Return Value * @exception UnsupportedOperationException Description of the Exception * @exception IllegalStateException Description of the Exception */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) throws UnsupportedOperationException, IllegalStateException { return null; } /** Description of the Method */ public void release() { } /** * Sets the dConfigBeanVersion attribute of the BasicDeploymentManager object * * @param version The new dConfigBeanVersion * value * @exception DConfigBeanVersionUnsupportedException Description of the Exception */ public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException { } /** * Sets the locale attribute of the BasicDeploymentManager object * * @param locale The new locale value * @exception UnsupportedOperationException Description of the Exception */ public void setLocale(Locale locale) throws UnsupportedOperationException { } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject start(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject stop(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } /** * Description of the Method * * @param moduleIDList Description of the Parameter * @return Description of the Return Value * @exception IllegalStateException Description of the Exception */ public ProgressObject undeploy(TargetModuleID[] moduleIDList) throws IllegalStateException { return null; } } |
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy/shared In directory sc8-pr-cvs1:/tmp/cvs-serv4692/src/main/javax/enterprise/deploy/shared Added Files: ActionType.java CommandType.java DConfigBeanVersionType.java ModuleType.java StateType.java package.html Log Message: Add up-to-date implementation for the JSR 88. No need for the Sun one. --- NEW FILE: ActionType.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.shared; import java.util.HashMap; import java.util.Map; /** * Class ActionTypes defines enumeration values for the J2EE DeploymentStatus actions. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class ActionType { /** Index value */ private Integer value; /** * A cancel operation is being preformed on the DeploymentManager action command. */ public final static ActionType CANCEL; /** The DeploymentManager action command is executing. */ public final static ActionType EXECUTE; /** A stop operation is being preformed on the DeploymentManager action command. */ public final static ActionType STOP; /** Internal table for string values */ private final static Map strings = new HashMap(); /** Internal table for values */ private final static Map values = new HashMap(); /** * Construct a new enumeration value with the given integer value. * * @param value Integer value */ protected ActionType(int value) { this.value = new Integer(value); values.put(this.value, this); } /** * Returns this enumeration value's integer value. * * @return the value */ public int getValue() { return this.value.intValue(); } /** * Return the string name of this ActionType or the integer value if outside the * bounds of the table. * * @return The String representation */ public String toString() { return (String) strings.get(this.value); } /** * Returns the enumeration value table for class ActionType * * @return Enumeration table of the values */ protected ActionType[] getEnumValueTable() { return (ActionType[]) values.values().toArray(new ActionType[0]); } /** * Returns the lowest integer value used by this enumeration value's enumeration * class. <p> * * The default implementation returns 0.</p> * * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } /** * Returns the string table for class ActionType * * @return The String representation table values */ protected String[] getStringTable() { return (String[]) strings.values().toArray(new String[0]); } /** * Return an object of the specified value. * * @param value a designator for the object. * @return The corresponding ActionType */ public static ActionType getActionType(int value) { return (ActionType) values.get(new Integer(value)); } /** Static block to initialize constants and to fill arrays. */ static { EXECUTE = new ActionType(0); strings.put(new Integer(0), "execute"); CANCEL = new ActionType(1); strings.put(new Integer(1), "cancel"); STOP = new ActionType(2); strings.put(new Integer(2), "stop"); } } --- NEW FILE: CommandType.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.shared; /** * Class CommandTypes defines enumeration values for the DeploymentStatus object. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class CommandType { /** Index value */ private int value; /** The DeploymentManger action operation being processed is distribute. */ public final static CommandType DISTRIBUTE; /** The DeploymentManger action operation being processed is redeploy. */ public final static CommandType REDEPLOY; /** The DeploymentManger action operation being processed is start. */ public final static CommandType START; /** The DeploymentManger action operation being processed is stop. */ public final static CommandType STOP; /** The DeploymentManger action operation being processed is undeploy. */ public final static CommandType UNDEPLOY; /** Internal table for string values */ private final static String[] stringTable; /** Internal table for values */ private final static CommandType[] valueTable; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value. */ protected CommandType(int value) { this.value = value; } /** * Returns this enumeration value's integer value. * * @return the value */ public int getValue() { return this.value; } /** * Return the string name of this CommandType or the integer value if outside * the bounds of the table. * * @return The String representation */ public String toString() { return stringTable[value]; } /** * Returns the enumeration value table for class CommandType * * @return Enumeration table of the values */ protected CommandType[] getEnumValueTable() { return valueTable; } /** * Returns the lowest integer value used by this enumeration value's enumeration * class. <p> * * The default implementation returns 0.</p> * * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } /** * Returns the string table for class CommandType * * @return The String representation table values */ protected String[] getStringTable() { return stringTable; } /** * Return an object of the specified value. * * @param value a designator for the object. * @return The corresponding CommandType */ public static CommandType getCommandType(int value) { return valueTable[value]; } /** Static block to initialize constants and to fill arrays. */ static { DISTRIBUTE = new CommandType(0); START = new CommandType(1); STOP = new CommandType(2); UNDEPLOY = new CommandType(3); REDEPLOY = new CommandType(4); valueTable = (new CommandType[]{DISTRIBUTE, START, STOP, UNDEPLOY, REDEPLOY}); stringTable = new String[]{"distribute", "start", "stop", "undeploy", "redeploy"}; } } --- NEW FILE: DConfigBeanVersionType.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.shared; /** * Class DConfigBeanVersionTypes defines enumeration values for the J2EE Platform * verion number. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class DConfigBeanVersionType { /** Index value */ private int value; /** J2EE Platform version 1.3 */ public final static DConfigBeanVersionType V1_3; /** J2EE Platform version 1.3.1 THIS CONSTANT SHOULD NEVER BE USED. */ public final static DConfigBeanVersionType V1_3_1; /** J2EE Platform version 1.4 */ public final static DConfigBeanVersionType V1_4; /** Internal table for string values */ private final static String[] stringTable; /** Internal table for values */ private final static DConfigBeanVersionType[] valueTable; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value. */ protected DConfigBeanVersionType(int value) { this.value = value; } /** * Returns this enumeration value's integer value. * * @return the value */ public int getValue() { return this.value; } /** * Return the string name of this DConfigBeanVersionType or the integer value * if outside the bounds of the table. * * @return The String representation */ public String toString() { return stringTable[value]; } /** * Returns the enumeration value table for class DConfigBeanVersionType * * @return Enumeration table of the values */ protected DConfigBeanVersionType[] getEnumValueTable() { return valueTable; } /** * Returns the lowest integer value used by this enumeration value's enumeration * class. <p> * * The default implementation returns 0.</p> * * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } /** * Returns the string table for class DConfigBeanVersionType * * @return The String representation table values */ protected String[] getStringTable() { return stringTable; } /** * Return an object of the specified value. * * @param value a designator for the object. * @return The corresponding DConfigBeanVersionType */ public static DConfigBeanVersionType getDConfigBeanVersionType(int value) { return valueTable[value]; } /** Static block to initialize constants and to fill arrays. */ static { V1_3 = new DConfigBeanVersionType(0); V1_3_1 = new DConfigBeanVersionType(1); V1_4 = new DConfigBeanVersionType(2); valueTable = (new DConfigBeanVersionType[]{V1_3, V1_3_1, V1_4}); stringTable = new String[]{"V1_3", "V1_3_1", "V1_4"}; } } --- NEW FILE: ModuleType.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.shared; /** * Class ModuleTypes defines enumeration values for the J2EE module types. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class ModuleType { /** Index value */ private int value; /** The module is an Client Application archive. */ public final static ModuleType CAR; /** The module is an EAR archive. */ public final static ModuleType EAR; /** The module is an Enterprise Java Bean archive. */ public final static ModuleType EJB; /** The module is an Connector archive. */ public final static ModuleType RAR; /** The module is an Web Application archive. */ public final static ModuleType WAR; /** Internal table for extensions values */ private final static String[] extensionTable; /** Internal table for string values */ private final static String[] stringTable; /** Internal table for values */ private final static ModuleType[] valueTable; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value. */ protected ModuleType(int value) { this.value = value; } /** * Returns this enumeration extension value's string value. * * @return The extension value */ public String getModuleExtension() { return extensionTable[value]; } /** * Returns this enumeration value's integer value. * * @return the value */ public int getValue() { return this.value; } /** * Return the string name of this ModuleType or the integer value if outside the * bounds of the table. * * @return The String representation */ public String toString() { return stringTable[value]; } /** * Returns the enumeration value table for class ModuleType * * @return Enumeration table of the values */ protected ModuleType[] getEnumValueTable() { return valueTable; } /** * Returns the lowest integer value used by this enumeration value's enumeration * class. <p> * * The default implementation returns 0.</p> * * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } /** * Returns the string table for class ModuleType * * @return The String representation table values */ protected String[] getStringTable() { return stringTable; } /** * Return an object of the specified value. * * @param value a designator for the object. * @return The corresponding ModuleType */ public static ModuleType getModuleType(int value) { return valueTable[value]; } /** Static block to initialize constants and to fill arrays. */ static { EAR = new ModuleType(0); EJB = new ModuleType(1); CAR = new ModuleType(2); RAR = new ModuleType(3); WAR = new ModuleType(4); valueTable = (new ModuleType[]{EAR, EJB, CAR, RAR, WAR}); stringTable = new String[]{"EAR", "EJB", "CAR", "RAR", "WAR"}; extensionTable = new String[]{"ear", "jar", "car", "rar", "war"}; } } --- NEW FILE: StateType.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package javax.enterprise.deploy.shared; /** * Class StateTypes defines enumeration values for the DeploymentStatus object. * * @author Laurent Etiemble * @version $Revision: 1.1 $ * @since 1.0 */ public class StateType { /** Index value */ private int value; /** The action operation has completed normally. */ public final static StateType COMPLETED; /** The action operation has failed. */ public final static StateType FAILED; /** The DeploymentManager is running in disconnected mode. */ public final static StateType RELEASED; /** The action operation is running normally. */ public final static StateType RUNNING; /** Internal table for string values */ private final static String[] stringTable; /** Internal table for values */ private final static StateType[] valueTable; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value */ protected StateType(int value) { this.value = value; } /** * Returns this enumeration value's integer value. * * @return the value */ public int getValue() { return this.value; } /** * Return the string name of this StateType or the integer value if outside the * bounds of the table. * * @return The String representation */ public String toString() { return stringTable[value]; } /** * Returns the enumeration value table for class StateType * * @return Enumeration table of the values */ protected StateType[] getEnumValueTable() { return valueTable; } /** * Returns the lowest integer value used by this enumeration value's enumeration * class. <p> * * The default implementation returns 0.</p> * * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } /** * Returns the string table for class StateType * * @return The String representation table values */ protected String[] getStringTable() { return stringTable; } /** * Return an object of the specified value. * * @param value a designator for the object. * @return The corresponding StateType */ public static StateType getModuleType(int value) { return valueTable[value]; } /** Static block to initialize constants and to fill arrays. */ static { RUNNING = new StateType(0); COMPLETED = new StateType(1); FAILED = new StateType(2); RELEASED = new StateType(3); valueTable = (new StateType[]{RUNNING, COMPLETED, FAILED, RELEASED}); stringTable = new String[]{"running", "completed", "failed", "released"}; } } --- NEW FILE: package.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!-- EJTools, the Enterprise Java Tools Distributable under LGPL license. See terms of license at www.gnu.org. $Revision: 1.1 $ --> <html> <head/> <body> Provides shared objects for Tool Vendor and Product Vendor implementation classes. <h2>Package Specification</h2> <ul> <li><a href="http://jcp.org/jsr/detail/88.jsp">JSR 88, J2EE Application Deployment</a></li> </ul> <h2>Related Documentation</h2> For overviews, tutorials, examples, guides, and tool documentation, please see: <ul> <li><a href="http://java.sun.com/j2ee/tools">J2EE Tools</a></li> </ul> </body> </html> |
From: <let...@us...> - 2003-12-14 10:42:04
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test/enterprise/deploy/shared/factories In directory sc8-pr-cvs1:/tmp/cvs-serv4561/src/test/test/enterprise/deploy/shared/factories Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test/enterprise/deploy/shared/factories added to the repository |
From: <let...@us...> - 2003-12-14 10:42:03
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test/enterprise/deploy/spi/factories In directory sc8-pr-cvs1:/tmp/cvs-serv4520/src/test/test/enterprise/deploy/spi/factories Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test/enterprise/deploy/spi/factories added to the repository |
From: <let...@us...> - 2003-12-14 10:42:02
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy/model/exceptions In directory sc8-pr-cvs1:/tmp/cvs-serv3739/src/main/javax/enterprise/deploy/model/exceptions Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy/model/exceptions added to the repository |
From: <let...@us...> - 2003-12-14 10:42:01
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy In directory sc8-pr-cvs1:/tmp/cvs-serv3378/src/main/javax/enterprise/deploy Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/main/javax/enterprise/deploy added to the repository |
From: <let...@us...> - 2003-12-14 10:42:01
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test In directory sc8-pr-cvs1:/tmp/cvs-serv3310/src/test/test Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/test/test added to the repository |
From: <let...@us...> - 2003-12-14 10:42:01
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src/test In directory sc8-pr-cvs1:/tmp/cvs-serv3248/src/test Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src/test added to the repository |
From: <let...@us...> - 2003-12-14 10:41:59
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/src In directory sc8-pr-cvs1:/tmp/cvs-serv2986/src Log Message: Directory /cvsroot/ejtools/libraries/j2ee.deployment/src added to the repository |
From: <let...@us...> - 2003-12-14 10:41:55
|
Update of /cvsroot/ejtools/thirdparty/sun/licenses In directory sc8-pr-cvs1:/tmp/cvs-serv29834/sun/licenses Added Files: LICENSE.txt Log Message: Add licenses for each used library. --- NEW FILE: LICENSE.txt --- {\rtf1\ansi\ansicpg1252\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\fmodern Courier New;}{\f3\froman Times New Roman;}} {\colortbl\red0\green0\blue0;} \deflang1036\horzdoc{\*\fchars }{\*\lchars }\pard\plain\f2\fs20 SUN IS WILLING TO MAKE THE ACCOMPANYING SOFTWARE \par GRAPHICS ARTWORK AVAILABLE TO YOU ONLY UPON THE \par CONDITION THAT YOU ACCEPT ALL OF THE TERMS \par CONTAINED IN THIS LICENSE. PLEASE READ THE TERMS \par AND CONDITIONS OF THIS LICENSE CAREFULLY. BY \par CLICKING "ACCEPT" AND DOWNLOADING THE SOFTWARE \par GRAPHICS ARTWORK, YOU ARE AGREEING TO THESE TERMS \par AND CONDITIONS. IF YOU DO NOT AGREE TO ALL OF \par THESE TERMS, SELECT THE "DO NOT ACCEPT" BUTTON AT \par THE END OF THIS LICENSE. \par \par \par Copyright 2000 by Sun Microsystems, Inc. All \par Rights Reserved. \par \par Sun grants you ("Licensee") a non-exclusive, \par royalty free, license to use, and redistribute \par this software graphics artwork, as individual \par graphics or as a collection, as part of software \par code or programs that you develop, provided that \par i) this copyright notice and license accompany \par the software graphics artwork; and ii) you do not \par utilize the software graphics artwork in a manner \par which is disparaging to Sun. Unless enforcement \par is prohibited by applicable law, you may not \par modify the graphics, and must use them true to \par color and unmodified in every way. \par \par This software graphics artwork is provided "AS \par IS," without a warranty of any kind. ALL EXPRESS \par OR IMPLIED CONDITIONS, REPRESENTATIONS AND \par WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF \par MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE \par OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND \par ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES \par SUFFERED BY LICENSEE AS A RESULT OF USING, \par MODIFYING OR DISTRIBUTING THE SOFTWARE GRAPHICS \par ARTWORK. \par \par IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE \par FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR \par DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, \par INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED \par AND REGARDLESS OF THE THEORY OF LIABILITY, \par ARISING OUT OF THE USE OF OR INABILITY TO USE \par SOFTWARE GRAPHICS ARTWORK, EVEN IF SUN HAS BEEN \par ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. \par \par If any of the above provisions are held to be in \par violation of applicable law, void, or \par unenforceable in any jurisdiction, then such \par provisions are waived to the extent necessary for \par this Disclaimer to be otherwise enforceable in \par such jurisdiction. \par \par } |
From: <let...@us...> - 2003-12-14 10:30:56
|
Update of /cvsroot/ejtools/libraries/j2ee.deployment/xdocs In directory sc8-pr-cvs1:/tmp/cvs-serv4692/xdocs Added Files: index.xml Log Message: Add up-to-date implementation for the JSR 88. No need for the Sun one. --- NEW FILE: index.xml --- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- # ================================================================================ # EJTools, the Enterprise Java Tools # # Distributable under LGPL license. # See terms of license at gnu.org. # # $Revision: 1.1 $ # ================================================================================ --> <document> <properties> <title>J2EE Deployment Library</title> </properties> <body> <section name="J2EE Deployment Library"> <subsection name="Overview"> <p>This library contains the classes defined by the J2EE Deployment API (JSR 88).</p> </subsection> </section> </body> </document> |
From: <let...@us...> - 2003-12-14 09:49:43
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/merge In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/webapp/merge Modified Files: servlet-mappings.xml Log Message: Add more javadocs. Adjust some things. Index: servlet-mappings.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/merge/servlet-mappings.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** servlet-mappings.xml 24 Oct 2002 22:39:16 -0000 1.5 --- servlet-mappings.xml 13 Dec 2003 22:15:08 -0000 1.6 *************** *** 1,44 **** ! <!-- Standard Action Servlet Mapping --> ! <servlet-mapping> ! <servlet-name>action</servlet-name> ! <url-pattern>*.do</url-pattern> ! </servlet-mapping> ! <!-- Precompiled JSP overmapping --> ! <!-- ! <servlet-mapping> ! <servlet-name>ADMIN.JSP</servlet-name> ! <url-pattern>/admin.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>BROADCASTERS.JSP</servlet-name> ! <url-pattern>/broadcasters.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>CUSTOMVIEW.JSP</servlet-name> ! <url-pattern>/customview.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>DETAIL.JSP</servlet-name> ! <url-pattern>/detail.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>HELP.JSP</servlet-name> ! <url-pattern>/help.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>INDEX.JSP</servlet-name> ! <url-pattern>/index.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>INVOKE.JSP</servlet-name> ! <url-pattern>/invoke.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>NOTIFICATIONS.JSP</servlet-name> ! <url-pattern>/notifications.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>SEARCH.JSP</servlet-name> ! <url-pattern>/search.jsp</url-pattern> ! </servlet-mapping> ! --> --- 1,44 ---- ! <!-- Standard Action Servlet Mapping --> ! <servlet-mapping> ! <servlet-name>action</servlet-name> ! <url-pattern>*.do</url-pattern> ! </servlet-mapping> ! <!-- Precompiled JSP overmapping --> ! <!-- ! <servlet-mapping> ! <servlet-name>ADMIN.JSP</servlet-name> ! <url-pattern>/admin.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>BROADCASTERS.JSP</servlet-name> ! <url-pattern>/broadcasters.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>CUSTOMVIEW.JSP</servlet-name> ! <url-pattern>/customview.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>DETAIL.JSP</servlet-name> ! <url-pattern>/detail.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>HELP.JSP</servlet-name> ! <url-pattern>/help.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>INDEX.JSP</servlet-name> ! <url-pattern>/index.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>INVOKE.JSP</servlet-name> ! <url-pattern>/invoke.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>NOTIFICATIONS.JSP</servlet-name> ! <url-pattern>/notifications.jsp</url-pattern> ! </servlet-mapping> ! <servlet-mapping> ! <servlet-name>SEARCH.JSP</servlet-name> ! <url-pattern>/search.jsp</url-pattern> ! </servlet-mapping> ! --> |
From: <let...@us...> - 2003-12-14 09:49:42
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/test Added Files: jndi.properties Log Message: Add more javadocs. Adjust some things. --- NEW FILE: jndi.properties --- java.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory java.naming.provider.url=rmi://localhost:1099 # Use the following properties for use with tnameserv, and remark the lines above # Remember to start tnameserv with the -ORBInitialPort option if you want to change # the ORB port (default port is 900), and change the value below accordingly #java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory #java.naming.provider.url=iiop://localhost:900 |
From: <let...@us...> - 2003-12-14 09:49:37
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc In directory sc8-pr-cvs1:/tmp/cvs-serv20500/jndi.browser/src/etc Modified Files: run.mf Log Message: Add more javadocs. Adjust workspace persistence. Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/etc/run.mf,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** run.mf 27 Nov 2003 01:30:28 -0000 1.8 --- run.mf 13 Dec 2003 22:29:06 -0000 1.9 *************** *** 1,4 **** Main-Class: org.ejtools.jndi.browser.Main ! Class-Path: ../conf/ ../lib/log4j.jar Name: org/ejtools/jndi/browser/ --- 1,4 ---- Main-Class: org.ejtools.jndi.browser.Main ! Class-Path: ../conf/ ../lib/log4j-1.2.8.jar Name: org/ejtools/jndi/browser/ |
From: <let...@us...> - 2003-12-14 09:49:37
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser In directory sc8-pr-cvs1:/tmp/cvs-serv20500/jndi.browser/src/main/org/ejtools/jndi/browser Modified Files: Browser.java Log Message: Add more javadocs. Adjust workspace persistence. Index: Browser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/Browser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Browser.java 27 Nov 2003 01:30:28 -0000 1.3 --- Browser.java 13 Dec 2003 22:29:07 -0000 1.4 *************** *** 18,22 **** import javax.swing.JFileChooser; import javax.swing.JOptionPane; - import javax.swing.filechooser.FileFilter; import org.apache.log4j.Logger; --- 18,21 ---- *************** *** 38,43 **** --- 37,44 ---- import org.ejtools.jndi.browser.model.service.ConnectionMetaData; import org.ejtools.jndi.browser.state.WorkbenchState; + import org.ejtools.util.FileTools; import org.ejtools.util.service.Profile; import org.ejtools.util.service.ProfileServiceProvider; + import org.ejtools.util.state.WorkspaceFileTools; /** *************** *** 50,78 **** public class Browser extends BeanContextServicesSupport implements HistoryService.Holder { protected AboutServiceProvider aboutService; protected ProfileServiceProvider factoryProvider; protected MDIFrameServiceProvider frameService; protected MenuBarServiceProvider menuBarService; ! protected ToolBarServiceProvider toolBarService; protected WorkbenchState stateManager; - protected HistoryServiceProvider historyService; - /** Description of the Field */ ! private FileFilter WORKSPACE_FILE_FILTER = ! new FileFilter() ! { ! public boolean accept(File file) ! { ! return file.getName().endsWith(".xml"); ! } ! ! ! public String getDescription() ! { ! return Browser.resources.getString("file.dialog.extension.description"); ! } ! }; ! /** Default logger */ private static Logger logger = Logger.getLogger(Browser.class); /** Bundle for I18N */ --- 51,70 ---- public class Browser extends BeanContextServicesSupport implements HistoryService.Holder { + /** Description of the Field */ protected AboutServiceProvider aboutService; + /** Description of the Field */ protected ProfileServiceProvider factoryProvider; + /** Description of the Field */ protected MDIFrameServiceProvider frameService; + /** Description of the Field */ + protected HistoryServiceProvider historyService; + /** Description of the Field */ protected MenuBarServiceProvider menuBarService; ! /** Description of the Field */ protected WorkbenchState stateManager; /** Description of the Field */ ! protected ToolBarServiceProvider toolBarService; ! /** Default logger */ private static Logger logger = Logger.getLogger(Browser.class); /** Bundle for I18N */ *************** *** 93,98 **** this.toolBarService = new ToolBarServiceProvider(); this.factoryProvider = new ProfileServiceProvider(new ConnectionMetaData()); ! this.historyService = new HistoryServiceProvider(this, 4); ! this.stateManager = new WorkbenchState(this); try --- 85,90 ---- this.toolBarService = new ToolBarServiceProvider(); this.factoryProvider = new ProfileServiceProvider(new ConnectionMetaData()); ! this.historyService = new HistoryServiceProvider(this, 4); ! this.stateManager = new WorkbenchState(this); try *************** *** 127,135 **** if (idx >= 0) { ! Profile profile = Browser.this.factoryProvider.getProfile(idx); ! ServerInternalFrame frame = new ServerInternalFrame(); ! frame.setProfile(profile); ! frame.setServer(new Server()); ! Browser.this.add(frame); } } --- 119,127 ---- if (idx >= 0) { ! Profile profile = Browser.this.factoryProvider.getProfile(idx); ! ServerInternalFrame frame = new ServerInternalFrame(); ! frame.setProfile(profile); ! frame.setServer(new Server()); ! Browser.this.add(frame); } } *************** *** 137,215 **** )); ! this.add(this.stateManager); ! this.add(new OpenWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! URL selectedURL = selectWorkspaceFile(resources.getString("file.dialog.title.load"), JFileChooser.OPEN_DIALOG); ! if (selectedURL != null) ! { ! loadResource(selectedURL, null); ! } ! } ! catch (Exception e) ! { ! // JOptionPane.showMessageDialog(null, "Could not load file:" + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); ! logger.error("Error while loading workspace", e); ! } ! } ! } ! )); ! this.add(new SaveWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! if (Browser.this.stateManager.getWorkbenchURL() == null) ! { ! URL selectedURL = selectWorkspaceFile(resources.getString("file.dialog.title.save"), JFileChooser.SAVE_DIALOG); ! if (selectedURL != null) ! { ! Browser.this.stateManager.setWorkbenchURL(selectedURL); ! } ! } ! if (Browser.this.stateManager.getWorkbenchURL() != null) ! { ! Browser.this.stateManager.store(); ! } ! } ! catch (Exception e) ! { ! logger.error("Error while saving workspace", e); ! } ! } ! } ! )); ! this.add(new SaveAsWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! URL selectedURL = selectWorkspaceFile(resources.getString("file.dialog.title.save"), JFileChooser.SAVE_DIALOG); ! if (selectedURL != null) ! { ! Browser.this.stateManager.setWorkbenchURL(selectedURL); ! Browser.this.stateManager.store(); ! } ! } ! catch (Exception e) ! { ! logger.error("Error while saving workspace", e); ! } ! } ! } ! )); ! this.add(this.historyService); this.add(new ExitAction( --- 129,207 ---- )); ! this.add(this.stateManager); ! this.add(new OpenWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.load"), resources.getString("file.dialog.button.load"), JFileChooser.OPEN_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) ! { ! Browser.this.loadResource(selectedFile.toURL(), null); ! } ! } ! catch (Exception e) ! { ! // JOptionPane.showMessageDialog(null, "Could not load file:" + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); ! logger.error("Error while loading workspace", e); ! } ! } ! } ! )); ! this.add(new SaveWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! if (Browser.this.stateManager.getWorkbenchURL() == null) ! { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.save"), resources.getString("file.dialog.button.save"), JFileChooser.SAVE_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) ! { ! Browser.this.stateManager.setWorkbenchURL(selectedFile.toURL()); ! } ! } ! if (Browser.this.stateManager.getWorkbenchURL() != null) ! { ! Browser.this.stateManager.store(); ! } ! } ! catch (Exception e) ! { ! logger.error("Error while saving workspace", e); ! } ! } ! } ! )); ! this.add(new SaveAsWorkspaceAction( ! new Command() ! { ! public void execute() ! { ! try ! { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.save"), resources.getString("file.dialog.button.save"), JFileChooser.SAVE_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) ! { ! Browser.this.stateManager.setWorkbenchURL(selectedFile.toURL()); ! Browser.this.stateManager.store(); ! } ! } ! catch (Exception e) ! { ! logger.error("Error while saving workspace", e); ! } ! } ! } ! )); ! this.add(this.historyService); this.add(new ExitAction( *************** *** 251,264 **** /** ! * Description of the Method ! * ! * @param url Description of the Parameter ! * @param context Description of the Parameter ! */ public void loadResource(URL url, Object context) { ! this.stateManager.setWorkbenchURL(url); ! this.stateManager.load(); ! this.historyService.push(url, context); } --- 243,256 ---- /** ! * Description of the Method ! * ! * @param url Description of the Parameter ! * @param context Description of the Parameter ! */ public void loadResource(URL url, Object context) { ! this.stateManager.setWorkbenchURL(url); ! this.stateManager.load(); ! this.historyService.push(url, context); } *************** *** 269,304 **** System.exit(0); } - - - /** - * Description of the Method - * - * @param title Description of the Parameter - * @param type Description of the Parameter - * @return Description of the Return Value - * @exception Exception Description of the Exception - */ - private URL selectWorkspaceFile(String title, int type) - throws Exception - { - // Fix for JFileChooser/SecurityManager bug (#4264750) - SecurityManager s = System.getSecurityManager(); - System.setSecurityManager(null); - - // Choose file - JFileChooser chooser = new JFileChooser(System.getProperty("user.dir")); - chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); - chooser.setDialogTitle(title); - chooser.setDialogType(type); - chooser.setFileFilter(WORKSPACE_FILE_FILTER); - - int returnVal = chooser.showDialog(null, title); - System.setSecurityManager(s); - if (returnVal != JFileChooser.APPROVE_OPTION) - { - return null; - } - - return chooser.getSelectedFile().toURL(); - } } --- 261,263 ---- |
From: <let...@us...> - 2003-12-14 09:49:35
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/state/rules In directory sc8-pr-cvs1:/tmp/cvs-serv20500/jndi.browser/src/main/org/ejtools/jndi/browser/state/rules Modified Files: ServerInternalFrameRule.java ServerRule.java Log Message: Add more javadocs. Adjust workspace persistence. Index: ServerInternalFrameRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/state/rules/ServerInternalFrameRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServerInternalFrameRule.java 27 Nov 2003 01:30:29 -0000 1.1 --- ServerInternalFrameRule.java 13 Dec 2003 22:29:07 -0000 1.2 *************** *** 1,32 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jndi.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jndi.browser.frame.ServerInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! ! /** ! * @author letiembl ! * @version $Revision$ ! * @created 20 juin 2003 ! */ ! public class ServerInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = new ServerInternalFrame(); ! context.put("FRAME", frame); ! context.put("HOLDER", frame); ! } ! } --- 1,32 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jndi.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jndi.browser.frame.ServerInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! ! /** ! * @author letiembl ! * @version $Revision$ ! * @created 20 juin 2003 ! */ ! public class ServerInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = new ServerInternalFrame(); ! context.put("FRAME", frame); ! context.put("HOLDER", frame); ! } ! } Index: ServerRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/state/rules/ServerRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServerRule.java 27 Nov 2003 01:30:29 -0000 1.1 --- ServerRule.java 13 Dec 2003 22:29:07 -0000 1.2 *************** *** 1,45 **** ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jndi.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.jndi.browser.frame.ServerInternalFrame; ! import org.ejtools.jndi.browser.model.Server; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ServerRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! ! Server server = new Server(); ! context.put("SERVER", server); ! ! frame.setServer(server); ! container.add(frame); ! ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! server.setName(name); ! } ! } --- 1,45 ---- ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jndi.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.jndi.browser.frame.ServerInternalFrame; ! import org.ejtools.jndi.browser.model.Server; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ServerRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! ! Server server = new Server(); ! context.put("SERVER", server); ! ! frame.setServer(server); ! container.add(frame); ! ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! server.setName(name); ! } ! } |
From: <let...@us...> - 2003-12-14 09:49:35
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/merge In directory sc8-pr-cvs1:/tmp/cvs-serv20500/jndi.browser/src/webapp/merge Modified Files: taglibs.xml Log Message: Add more javadocs. Adjust workspace persistence. Index: taglibs.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/merge/taglibs.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** taglibs.xml 24 Oct 2002 22:33:28 -0000 1.2 --- taglibs.xml 13 Dec 2003 22:29:07 -0000 1.3 *************** *** 1,31 **** ! <!-- Application TagLib --> ! <taglib> ! <taglib-uri>/WEB-INF/application.tld</taglib-uri> ! <taglib-location>/WEB-INF/application.tld</taglib-location> ! </taglib> ! ! <!-- Additional TagLib : EJTools --> ! <taglib> ! <taglib-uri>/WEB-INF/ejtools-taglib.tld</taglib-uri> ! <taglib-location>/WEB-INF/ejtools-taglib.tld</taglib-location> ! </taglib> ! ! <!-- Struts Tag Library Descriptors --> ! <taglib> ! <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> ! </taglib> ! <taglib> ! <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-html.tld</taglib-location> ! </taglib> ! <taglib> ! <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> ! </taglib> ! ! <!-- Additional TagLib : log --> ! <taglib> ! <taglib-uri>/WEB-INF/log.tld</taglib-uri> ! <taglib-location>/WEB-INF/log.tld</taglib-location> ! </taglib> --- 1,31 ---- ! <!-- Application TagLib --> ! <taglib> ! <taglib-uri>/WEB-INF/application.tld</taglib-uri> ! <taglib-location>/WEB-INF/application.tld</taglib-location> ! </taglib> ! ! <!-- Additional TagLib : EJTools --> ! <taglib> ! <taglib-uri>/WEB-INF/ejtools-taglib.tld</taglib-uri> ! <taglib-location>/WEB-INF/ejtools-taglib.tld</taglib-location> ! </taglib> ! ! <!-- Struts Tag Library Descriptors --> ! <taglib> ! <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> ! </taglib> ! <taglib> ! <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-html.tld</taglib-location> ! </taglib> ! <taglib> ! <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> ! <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> ! </taglib> ! ! <!-- Additional TagLib : log --> ! <taglib> ! <taglib-uri>/WEB-INF/log.tld</taglib-uri> ! <taglib-location>/WEB-INF/log.tld</taglib-location> ! </taglib> |
From: <let...@us...> - 2003-12-14 09:49:32
|
Update of /cvsroot/ejtools/applications/management.browser/src/etc In directory sc8-pr-cvs1:/tmp/cvs-serv21061/management.browser/src/etc Modified Files: run.mf Log Message: Add more javadocs. Adjust workspace persistence. Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/etc/run.mf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** run.mf 10 Feb 2003 21:28:44 -0000 1.1 --- run.mf 13 Dec 2003 22:31:56 -0000 1.2 *************** *** 1,4 **** Main-Class: org.ejtools.management.browser.Main ! Class-Path: ../conf/ ../lib/log4j.jar Name: org/ejtools/management/browser/ --- 1,4 ---- Main-Class: org.ejtools.management.browser.Main ! Class-Path: ../conf/ ../lib/log4j-1.2.8.jar Name: org/ejtools/management/browser/ |
From: <let...@us...> - 2003-12-14 09:49:32
|
Update of /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model In directory sc8-pr-cvs1:/tmp/cvs-serv21061/management.browser/src/main/org/ejtools/management/browser/model Modified Files: Node.java Server.java Log Message: Add more javadocs. Adjust workspace persistence. Index: Node.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/Node.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Node.java 27 Nov 2003 01:39:48 -0000 1.4 --- Node.java 13 Dec 2003 22:31:56 -0000 1.5 *************** *** 1,213 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.management.browser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.util.ArrayList; ! import java.util.Collections; ! import java.util.Comparator; ! import java.util.Iterator; ! import java.util.Vector; ! ! import org.apache.log4j.Logger; ! import org.ejtools.adwt.GenericCustomizer; ! import org.ejtools.beans.beancontext.CustomBeanContextServicesSupport; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public abstract class Node extends CustomBeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Description of the Field */ ! protected transient Customizer c = null; ! /** Description of the Field */ ! protected String name = "<undefined>"; ! /** Description of the Field */ ! private static Logger logger = Logger.getLogger(Node.class); ! ! ! /** Constructor for the Node object */ ! public Node() ! { ! super(); ! } ! ! ! /** ! * Gets the component attribute of the Node object ! * ! * @return The component value ! */ ! public Component getComponent() ! { ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name attribute of the Node object ! * ! * @return The name value ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public Iterator iterator() ! { ! Iterator iterator = super.iterator(); ! ! // Create a vector from the iterator ! Vector vector = new Vector(); ! while (iterator.hasNext()) ! { ! vector.addElement(iterator.next()); ! } ! ! // Apply the comparator ! Collections.sort(vector, ! new Comparator() ! { ! public int compare(Object o1, Object o2) ! { ! Class c1 = o1.getClass(); ! Class c2 = o2.getClass(); ! ! if ((c1 == ManagedObject.class) && (c2 == ManagedObject.class)) ! { ! int ret = ((ManagedObject) o1).getJ2EEType().compareTo(((ManagedObject) o2).getJ2EEType()); ! if (ret == 0) ! { ! ret = o1.toString().compareTo(o2.toString()); ! } ! return ret; ! } ! else ! { ! int ret = o1.getClass().getName().compareTo(o2.getClass().getName()); ! if (ret == 0) ! { ! ret = o1.toString().compareTo(o2.toString()); ! } ! return ret; ! } ! } ! ! ! public boolean equals(Object obj) ! { ! return true; ! // Ever called? ! } ! }); ! ! // Return the result ! return vector.iterator(); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return (name == null || "".equals(name)) ? "Default" : name; ! } ! ! ! /** Description of the Method */ ! protected void createHierarchy() ! { ! logger.debug("Create Hierarchy in " + this.getName() + " parent is " + this.getBeanContext()); ! ! ArrayList moved = new ArrayList(); ! ! // Create the hierachy ! ArrayList copy = new ArrayList(this); ! for (int i = 0; i < copy.size(); i++) ! { ! ManagedObject resource = (ManagedObject) copy.get(i); ! if (!moved.contains(resource)) ! { ! String search = resource.getJ2EEType() + "=" + resource.getName(); ! ! ArrayList toMove = new ArrayList(this); ! for (int j = 0; j < toMove.size(); j++) ! { ! ManagedObject other = (ManagedObject) toMove.get(j); ! String canonical = other.getCanonicalName(); ! if (canonical.indexOf(search) >= 0) ! { ! this.remove(other); ! resource.add(other); ! moved.add(other); ! } ! } ! } ! } ! ! // Recurse through all children which have children ! Iterator iterator = this.iterator(); ! while (iterator.hasNext()) ! { ! ManagedObject resource = (ManagedObject) iterator.next(); ! if (!resource.isEmpty()) ! { ! resource.createHierarchy(); ! } ! } ! } ! ! ! /** ! * Description of the Method ! * ! * @param spacer Description of the Parameter ! */ ! protected void dumpHierarchy(String spacer) ! { ! Iterator iterator = this.iterator(); ! while (iterator.hasNext()) ! { ! Node node = (Node) iterator.next(); ! logger.info(spacer + node.getName()); ! node.dumpHierarchy(spacer + "+-"); ! } ! } ! ! ! /** ! * Setter for the name attribute ! * ! * @param name The new name value ! */ ! protected void setName(String name) ! { ! String old = this.name; ! this.name = name; ! this.firePropertyChange("name", old, this.name); ! } ! } --- 1,213 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.management.browser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.util.ArrayList; ! import java.util.Collections; ! import java.util.Comparator; ! import java.util.Iterator; ! import java.util.Vector; ! ! import org.apache.log4j.Logger; ! import org.ejtools.adwt.GenericCustomizer; ! import org.ejtools.beans.beancontext.CustomBeanContextServicesSupport; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public abstract class Node extends CustomBeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Description of the Field */ ! protected transient Customizer c = null; ! /** Description of the Field */ ! protected String name = "<undefined>"; ! /** Description of the Field */ ! private static Logger logger = Logger.getLogger(Node.class); ! ! ! /** Constructor for the Node object */ ! public Node() ! { ! super(); ! } ! ! ! /** ! * Gets the component attribute of the Node object ! * ! * @return The component value ! */ ! public Component getComponent() ! { ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name attribute of the Node object ! * ! * @return The name value ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public Iterator iterator() ! { ! Iterator iterator = super.iterator(); ! ! // Create a vector from the iterator ! Vector vector = new Vector(); ! while (iterator.hasNext()) ! { ! vector.addElement(iterator.next()); ! } ! ! // Apply the comparator ! Collections.sort(vector, ! new Comparator() ! { ! public int compare(Object o1, Object o2) ! { ! Class c1 = o1.getClass(); ! Class c2 = o2.getClass(); ! ! if ((c1 == ManagedObject.class) && (c2 == ManagedObject.class)) ! { ! int ret = ((ManagedObject) o1).getJ2EEType().compareTo(((ManagedObject) o2).getJ2EEType()); ! if (ret == 0) ! { ! ret = o1.toString().compareTo(o2.toString()); ! } ! return ret; ! } ! else ! { ! int ret = o1.getClass().getName().compareTo(o2.getClass().getName()); ! if (ret == 0) ! { ! ret = o1.toString().compareTo(o2.toString()); ! } ! return ret; ! } ! } ! ! ! public boolean equals(Object obj) ! { ! return true; ! // Ever called? ! } ! }); ! ! // Return the result ! return vector.iterator(); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return (name == null || "".equals(name)) ? "Default" : name; ! } ! ! ! /** Description of the Method */ ! protected void createHierarchy() ! { ! logger.debug("Create Hierarchy in " + this.getName() + " parent is " + this.getBeanContext()); ! ! ArrayList moved = new ArrayList(); ! ! // Create the hierachy ! ArrayList copy = new ArrayList(this); ! for (int i = 0; i < copy.size(); i++) ! { ! ManagedObject resource = (ManagedObject) copy.get(i); ! if (!moved.contains(resource)) ! { ! String search = resource.getJ2EEType() + "=" + resource.getName(); ! ! ArrayList toMove = new ArrayList(this); ! for (int j = 0; j < toMove.size(); j++) ! { ! ManagedObject other = (ManagedObject) toMove.get(j); ! String canonical = other.getCanonicalName(); ! if (canonical.indexOf(search) >= 0) ! { ! this.remove(other); ! resource.add(other); ! moved.add(other); ! } ! } ! } ! } ! ! // Recurse through all children which have children ! Iterator iterator = this.iterator(); ! while (iterator.hasNext()) ! { ! ManagedObject resource = (ManagedObject) iterator.next(); ! if (!resource.isEmpty()) ! { ! resource.createHierarchy(); ! } ! } ! } ! ! ! /** ! * Description of the Method ! * ! * @param spacer Description of the Parameter ! */ ! protected void dumpHierarchy(String spacer) ! { ! Iterator iterator = this.iterator(); ! while (iterator.hasNext()) ! { ! Node node = (Node) iterator.next(); ! logger.info(spacer + node.getName()); ! node.dumpHierarchy(spacer + "+-"); ! } ! } ! ! ! /** ! * Setter for the name attribute ! * ! * @param name The new name value ! */ ! protected void setName(String name) ! { ! String old = this.name; ! this.name = name; ! this.firePropertyChange("name", old, this.name); ! } ! } Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/Server.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Server.java 27 Nov 2003 01:39:48 -0000 1.5 --- Server.java 13 Dec 2003 22:31:57 -0000 1.6 *************** *** 1,533 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.management.browser.model; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Collection; [...1037 lines suppressed...] ! protected void setCount(int count) ! { ! int oldCount = this.count; ! this.count = count; ! this.firePropertyChange("count", new Integer(oldCount), new Integer(count)); ! } ! ! ! /** ! * Setter for the defaultDomain attribute ! * ! * @param defaultDomain The new defaultDomain value ! */ ! protected void setDefaultDomain(String defaultDomain) ! { ! String oldDomain = this.defaultDomain; ! this.defaultDomain = defaultDomain; ! this.firePropertyChange("defaultDomain", oldDomain, defaultDomain); ! } ! } |