ejtools-cvs Mailing List for EJTools (Page 117)
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: Laurent E. <let...@us...> - 2002-04-18 20:58:48
|
Update of /cvsroot/ejtools/website/content/projects/deployment In directory usw-pr-cvs1:/tmp/cvs-serv5579/deployment Log Message: Directory /cvsroot/ejtools/website/content/projects/deployment added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:58:36
|
Update of /cvsroot/ejtools/website/content/libraries/xmlweb In directory usw-pr-cvs1:/tmp/cvs-serv5504/xmlweb Log Message: Directory /cvsroot/ejtools/website/content/libraries/xmlweb added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:58:22
|
Update of /cvsroot/ejtools/website/content/libraries/j2ee.icons In directory usw-pr-cvs1:/tmp/cvs-serv5438/j2ee.icons Log Message: Directory /cvsroot/ejtools/website/content/libraries/j2ee.icons added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:58:10
|
Update of /cvsroot/ejtools/website/content/libraries/adwt In directory usw-pr-cvs1:/tmp/cvs-serv5394/adwt Log Message: Directory /cvsroot/ejtools/website/content/libraries/adwt added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:57:53
|
Update of /cvsroot/ejtools/website/content/projects In directory usw-pr-cvs1:/tmp/cvs-serv5320/projects Log Message: Directory /cvsroot/ejtools/website/content/projects added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:57:39
|
Update of /cvsroot/ejtools/website/content/overview In directory usw-pr-cvs1:/tmp/cvs-serv5255/overview Log Message: Directory /cvsroot/ejtools/website/content/overview added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:57:28
|
Update of /cvsroot/ejtools/website/content/links In directory usw-pr-cvs1:/tmp/cvs-serv5178/links Log Message: Directory /cvsroot/ejtools/website/content/links added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:57:16
|
Update of /cvsroot/ejtools/website/content/libraries In directory usw-pr-cvs1:/tmp/cvs-serv5096/libraries Log Message: Directory /cvsroot/ejtools/website/content/libraries added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:57:07
|
Update of /cvsroot/ejtools/website/content/developers In directory usw-pr-cvs1:/tmp/cvs-serv5037/developers Log Message: Directory /cvsroot/ejtools/website/content/developers added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:56:34
|
Update of /cvsroot/ejtools/website/images/svg In directory usw-pr-cvs1:/tmp/cvs-serv4865/svg Log Message: Directory /cvsroot/ejtools/website/images/svg added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:56:09
|
Update of /cvsroot/ejtools/website/stylesheets In directory usw-pr-cvs1:/tmp/cvs-serv4720/stylesheets Log Message: Directory /cvsroot/ejtools/website/stylesheets added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:55:55
|
Update of /cvsroot/ejtools/website/output In directory usw-pr-cvs1:/tmp/cvs-serv4632/output Log Message: Directory /cvsroot/ejtools/website/output added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:55:43
|
Update of /cvsroot/ejtools/website/images In directory usw-pr-cvs1:/tmp/cvs-serv4544/images Log Message: Directory /cvsroot/ejtools/website/images added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:55:29
|
Update of /cvsroot/ejtools/website/content In directory usw-pr-cvs1:/tmp/cvs-serv4477/content Log Message: Directory /cvsroot/ejtools/website/content added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:55:15
|
Update of /cvsroot/ejtools/libraries/xmlweb In directory usw-pr-cvs1:/tmp/cvs-serv4373/xmlweb Log Message: Directory /cvsroot/ejtools/libraries/xmlweb added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:54:38
|
Update of /cvsroot/ejtools/libraries/jboss.provider In directory usw-pr-cvs1:/tmp/cvs-serv4158/jboss.provider Log Message: Directory /cvsroot/ejtools/libraries/jboss.provider added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:54:27
|
Update of /cvsroot/ejtools/libraries/j2ee.icons In directory usw-pr-cvs1:/tmp/cvs-serv4092/j2ee.icons Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:54:16
|
Update of /cvsroot/ejtools/libraries/common In directory usw-pr-cvs1:/tmp/cvs-serv4006/common Log Message: Directory /cvsroot/ejtools/libraries/common added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:53:58
|
Update of /cvsroot/ejtools/libraries/adwt In directory usw-pr-cvs1:/tmp/cvs-serv3916/adwt Log Message: Directory /cvsroot/ejtools/libraries/adwt added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:58
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr77 In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr77 Added Files: module.properties Log Message: Initial Import --- NEW FILE: module.properties --- version.major=1 version.minor=0 version.revision=0 version.tag=alpha vendor.name=sun module.name=jsr77 module.display.name=JSR 77 module.package=javax.management.j2ee.* |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:58
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88 In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88 Added Files: module.properties Log Message: Initial Import --- NEW FILE: module.properties --- version.major=1 version.minor=0 version.revision=0 version.tag=alpha vendor.name=sun module.name=jsr88 module.display.name=JSR 88 module.package=javax.enterprise.deploy.* |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:58
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/exceptions In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/spi/exceptions Added Files: BeanNotFoundException.java ClientExecuteException.java ConfigurationException.java DConfigBeanVersionUnsupportedException.java DeploymentManagerCreationException.java InvalidModuleException.java OperationUnsupportedException.java TargetException.java Log Message: Initial Import --- NEW FILE: BeanNotFoundException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that the bean is * not a child of the parent bean. */ public class BeanNotFoundException extends Exception { /** * Creates an new BeanNotFoundException object. * * @param s a string indicating what was wrong * with the target. */ public BeanNotFoundException(String s) { super(s); } } --- NEW FILE: ClientExecuteException.java --- /* * ClientExecuteException.java * * Created on May 23, 2001, 2:45 PM */ package javax.enterprise.deploy.spi.exceptions; /** * This exception reports errors in setting up an application client * for execution. * * @author gfink * @version */ public class ClientExecuteException extends java.lang.Exception { /** * Creates new <code>ClientExecuteException</code> without detail message. */ public ClientExecuteException() { } /** * Constructs an <code>ClientExecuteException</code> with the *specified detail message. * @param msg the detail message. */ public ClientExecuteException(String msg) { super(msg); } } --- NEW FILE: ConfigurationException.java --- /* * ConfigurationException.java * * Created on May 23, 2001, 2:45 PM */ package javax.enterprise.deploy.spi.exceptions; /** * This exception reports errors in generating a configuration bean. * * @author gfink * @version */ public class ConfigurationException extends java.lang.Exception { /** * Creates new <code>ConfigurationException</code> without detail message. */ public ConfigurationException() { } /** * Constructs an <code>ConfigurationException</code> with the specified detail message. * @param msg the detail message. */ public ConfigurationException(String msg) { super(msg); } } --- NEW FILE: DConfigBeanVersionUnsupportedException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that there is no support * for the DConfigBean version requested. */ public class DConfigBeanVersionUnsupportedException extends Exception { /** * Creates an new DConfigBeanVersionUnsupportedException object. * * @params a string indicating what was wrong * with the version request. */ public DConfigBeanVersionUnsupportedException(String s) { super(s); } } --- NEW FILE: DeploymentManagerCreationException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report problems in returning * a DeploymentManager object cause by such things as * server down, unable to authenticate and the like. */ public class DeploymentManagerCreationException extends Exception { /** * Creates an new DeploymentManagerCreationException object. * * @param s a string providing more information about the problem. */ public DeploymentManagerCreationException(String s) { super(s); } } --- NEW FILE: InvalidModuleException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report an invalid J2EE deployment * module type. */ public class InvalidModuleException extends Exception { /** * Creates an new InvalidModuleException object. * * @param s a string indicating what was wrong * with the module type. */ public InvalidModuleException(String s) { super(s); } } --- NEW FILE: OperationUnsupportedException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report that the method * called is not supported by this implementation. */ public class OperationUnsupportedException extends Exception { /** * Creates an new OperationUnsupportedException object. * * @param s a string indicating what was wrong * with the target. */ public OperationUnsupportedException(String s) { super(s); } } --- NEW FILE: TargetException.java --- package javax.enterprise.deploy.spi.exceptions; /** * This exception is to report bad target designators. */ public class TargetException extends Exception { /** * Creates an new TargetException object. * * @param s a string indicating what was wrong * with the target. */ public TargetException(String s) { super(s); } } |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:58
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/spi Added Files: DConfigBean.java DConfigBeanRoot.java DeploymentConfiguration.java DeploymentManager.java Target.java TargetModuleID.java Log Message: Initial Import --- NEW FILE: DConfigBean.java --- package javax.enterprise.deploy.spi; import java.beans.PropertyChangeListener; import javax.enterprise.deploy.model.*; import javax.enterprise.deploy.spi.exceptions.ConfigurationException; import javax.enterprise.deploy.spi.exceptions.BeanNotFoundException; /** * The interface for configuring a server-specific deployment * descriptor, or subset of same. A DConfigBean corresponds * to a specific location in a standard deployment * descriptor, typically where values (such as names * and roles) are used. * * <p> * There are three different ways that DConfigBeans are created: * <ul> * <LI> <CODE>DeploymentConfigurator.getDConfigBean(DDBeanRoot)</CODE> * is called by the deployment tool to create a DConfigBeanRoot for each * deployment descriptor in the J2EE application. * </li> * <li> <CODE>DConfigBean.getDConfigBean(DDBean)</CODE> is called * by the deployment tool for each DDBean that corresponds to * a relative XPath pattern given to the deployment tool by the method * <CODE>DConfigBean.getXpaths().</CODE> * </li> * <li> Each DConfigBean can structure its configurations as a tree-structure * of DConfigBeans; a DConfigBean can have properties of type DConfigBean * or DConfigBean[]. * </li> * </ul> * * <p> * The properties of DConfigBeans are displayed and edited by the * deployment tool by using the JavaBean Property classes. */ public interface DConfigBean { /** * Return the JavaBean containing the deployment * descriptor XML text associated with this DConfigBean. * @return The bean class containing the XML text for * this DConfigBean. */ public DDBean getDDBean(); /** * Return a list of XPaths designating the deployment descriptor * information this DConfigBean requires. * * A given server vendor will need to specify some server-specific * information. Each String returned by this method is an XPath * describing a certain portion of the standard deployment descriptor * for which there is corresponding server-specific configuration. * * @return a list of XPath Strings representing XML data to be retrieved * or 'null' if there are none. */ public String[] getXpaths(); /** * Return the JavaBean containing the server-specific deployment * configuration information based upon the XML data provided * by the DDBean. * * @return The DConfigBean to display the server-specific properties * for the standard bean. * @param bean The DDBean containing the XML data to be * evaluated. * @throws ConfigurationException reports errors in generating * a configuration bean. This DDBean is considered * undeployable to this server until this exception * is resolved. * A suitably descriptive message is required so the user * can diagnose the error. */ public DConfigBean getDConfigBean(DDBean bean) throws ConfigurationException; /** * Remove a child DConfigBean from this bean. * * @param bean The child DConfigBean to be removed. * @throws BeanNotFoundException the bean provided * is not in the child list of this bean. */ public void removeDConfigBean(DConfigBean bean) throws BeanNotFoundException; /** * A notification that the DDBean provided in the * event has changed and this bean or its child beans need * to reevaluate themselves. * * @param event an event containing a reference to the * DDBean which has changed. */ public void notifyDDChange(XpathEvent event); /** * Register a property listener for this bean. * @param pcl PropertyChangeListener to add */ public void addPropertyChangeListener(PropertyChangeListener pcl); /** * Unregister a property listener for this bean. * @param pcl Listener to remove. */ public void removePropertyChangeListener(PropertyChangeListener pcl); } --- NEW FILE: DConfigBeanRoot.java --- /* * DConfigBeanRoot.java * * Created on July 18, 2001, 12:45 PM */ package javax.enterprise.deploy.spi; /** * The DConfigBeanRoot interface represent the root of a * deployment descriptor. A DConfigBeanRoot is associated * with a DDRoot object which in turn is associated * with a specific deployment descriptor file. * * <p> Only DConfigBeanRoots are saved or restored by methods * in DeploymentConfigurator. * * @author gfink * @version */ public interface DConfigBeanRoot extends DConfigBean { } --- NEW FILE: DeploymentConfiguration.java --- /* * Configurator.java * * Created on May 14, 2001, 4:25 PM */ package javax.enterprise.deploy.spi; import javax.enterprise.deploy.model.*; import javax.enterprise.deploy.spi.exceptions.ConfigurationException; import javax.enterprise.deploy.spi.exceptions.BeanNotFoundException; import java.io.InputStream; import java.io.OutputStream; /** * An interface that defines a container for all the * server-specific configuration information for a * single top-level J2EE module. The DeploymentConfiguration * object could represent a single stand alone module or an * EAR file that contains several sub-modules. * * @author gfink * @version 0.1 */ public interface DeploymentConfiguration { /** * Returns an object that provides access to * the deployment descriptor data and classes * of a J2EE module. * @return DeployableObject */ public DeployableObject getDeployableObject(); /** * Returns the top level configuration bean, DConfigBeanRoot, * associated with the deployment descriptor represented by * the designated DDBeanRoot bean. * * @param bean The top level bean that represents the * associated deployment descriptor. * @return the DConfigBeanRoot for editing the server-specific * properties required by the module. * @throws ConfigurationException reports errors in generating * a configuration bean */ public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) throws ConfigurationException; /** * Remove the root DConfigBean and all its children. * * @param bean the top leve DConfigBean to remove. * @throws BeanNotFoundException the bean provides is * not in this beans child list. */ public void removeDConfigBean(DConfigBeanRoot bean) throws BeanNotFoundException; /** * Restore from disk to instantated objects all the DConfigBeans * associated with a specific deployment descriptor. The beans * may be fully or partially configured. * @param inputArchive The input stream for the file from which the * DConfigBeans should be restored. * @param bean The DDBeanRoot bean associated with the * deployment descriptor file. * @return The top most parent configuration bean, DConfigBeanRoot * @throws ConfigurationException reports errors in generating * a configuration bean */ public DConfigBeanRoot restoreDConfigBean(InputStream inputArchive, DDBeanRoot bean) throws ConfigurationException; /** * Save to disk all the configuration beans associated with * a particular deployment descriptor file. The saved data * may be fully or partially configured DConfigBeans. The * output file format is recommended to be XML. * @param outputArchive The output stream to which the DConfigBeans * should be saved. * @param bean The top level bean, DConfigBeanRoot, from which to be save. * @throws ConfigurationException reports errors in generating * a configuration bean */ public void saveDConfigBean(OutputStream outputArchive,DConfigBeanRoot bean) throws ConfigurationException; /** * Restore from disk to a full set of configuration beans previously * stored. * @param inputArchive The input stream from which to restore * the Configuration. * @throws ConfigurationException reports errors in generating * a configuration bean */ public void restore(InputStream inputArchive) throws ConfigurationException; /** * Save to disk the current set configuration beans created for * this deployable module. * It is recommended the file format be XML. * * @param outputArchive The output stream to which to save the * Configuration. * @throws ConfigurationException */ public void save(OutputStream outputArchive) throws ConfigurationException; } --- NEW FILE: DeploymentManager.java --- package javax.enterprise.deploy.spi; import javax.enterprise.deploy.spi.status.*; import javax.enterprise.deploy.spi.exceptions.*; import javax.enterprise.deploy.model.DeployableObject; import javax.enterprise.deploy.shared.DConfigBeanVersionType; import java.io.File; import java.io.InputStream; import java.util.Locale; /** * The DeploymentManager object provides the core set * of functions a J2EE platform must provide for J2EE * application deployment. It provides server related * information, such as, a list of deployment targets, * and vendor unique runtime configuration information. */ public interface DeploymentManager { /** * Retrieve the list of deployment targets supported by * this DeploymentManager. * * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return A list of deployment Target designators the * user may select for application deployment or 'null' * if there are none. */ public Target[] getTargets() throws IllegalStateException; /** * Retrieve the list of J2EE application modules distributed * to the identified targets and that are currently running * on the associated server or servers. * * @param moduleType A predefined designator for a J2EE * module type. * * @param targetList A list of deployment Target designators * the user wants checked for module run * status. * * @return An array of TargetModuleID objects representing * the running modules or 'null' if there * are none. * * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @throws TargetException An invalid Target designator * encountered. */ public TargetModuleID[] getRunningModules(int moduleType, Target[] targetList) throws TargetException, IllegalStateException; /** * Retrieve the list of J2EE application modules distributed * to the identified targets and that are currently not * running on the associated server or servers. * * @param moduleType A predefined designator for a J2EE * module type. * * @param targetList A list of deployment Target designators * the user wants checked for module not * running status. * * @return An array of TargetModuleID objects representing * the non-running modules or 'null' if * there are none. * * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @throws TargetException An invalid Target designator * encountered. */ public TargetModuleID[] getNonRunningModules(int moduleType, Target[] targetList) throws TargetException, IllegalStateException; /** * Retrieve the list of all J2EE application modules running * or not running on the identified targets. * * @param moduleType A predefined designator for a J2EE * module type. * * @param targetList A list of deployment Target designators * the user wants checked for module not * running status. * * @return An array of TargetModuleID objects representing * all deployed modules running or not or * 'null' if there are no deployed modules. * * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @throws TargetException An invalid Target designator * encountered. */ public TargetModuleID[] getAvailableModules(int moduleType, Target[] targetList) throws TargetException, IllegalStateException; /** * Retrieve the object that provides server-specific deployment * configuration information for the J2EE deployable component. * * @param dObj An object representing a J2EE deployable component. * @throws InvalidModuleException The DeployableObject is an * unknown or unsupport component for this * configuration tool. */ public DeploymentConfiguration createConfiguration(DeployableObject dObj) throws InvalidModuleException; /** * The distribute method performs three tasks; it validates the * deployment configuration data, generates all container specific * classes and interfaces, and moves the fully baked archive to * the designated deployment targets. * * @param targetList A list of server targets the user is specifying * this application be deployed to. * @param moduleArchive The file name of the application archive * to be disrtibuted. * @param deploymentPlan The XML file containing the runtime * configuration information associated with * this application archive. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return ProgressObject an object that tracks and reports the * status of the distribution process. */ public ProgressObject distribute(Target[] targetList, File moduleArchive, File deploymentPlan) throws IllegalStateException; /** * The distribute method performs three tasks; it validates the * deployment configuration data, generates all container specific * classes and interfaces, and moves the fully baked archive to * the designated deployment targets. * * @param targetList A list of server targets the user is specifying * this application be deployed to. * @param moduleArchive The input stream containing the application * archive to be disrtibuted. * @param deploymentPlan The input stream containing the deployment * configuration information associated with * this application archive. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return ProgressObject an object that tracks and reports the * status of the distribution process. * */ public ProgressObject distribute(Target[] targetList, InputStream moduleArchive, InputStream deploymentPlan) throws IllegalStateException; /** * Start the application running. * * <p> Only the TargetModuleIDs which represent a root module * are valid for being started. A root TargetModuleID has no parent. * A TargetModuleID with a parent can not be individually started. * A root TargetModuleID module and all its child modules will be * started. * * @param moduleIDList A array of TargetModuleID objects * representing the modules to be started. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return ProgressObject an object that tracks and reports the * status of the start operation. */ public ProgressObject start(TargetModuleID[] moduleIDList) throws IllegalStateException; /** * Stop the application running. * * <p> Only the TargetModuleIDs which represent a root module * are valid for being stopped. A root TargetModuleID has no parent. * A TargetModuleID with a parent can not be individually stopped. * A root TargetModuleID module and all its child modules will be * stopped. * * @param moduleIDList A array of TargetModuleID objects * representing the modules to be stopped. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return ProgressObject an object that tracks and reports the * status of the stop operation. */ public ProgressObject stop(TargetModuleID [] moduleIDList) throws IllegalStateException; /** * Remove the application from the target server. * * <p> Only the TargetModuleIDs which represent a root module * are valid for undeployment. A root TargetModuleID has no parent. * A TargetModuleID with a parent can not be undeployed. A root * TargetModuleID module and all its child modules will be undeployed. * The root TargetModuleID module and all its child modules must * stopped before they can be undeployed. * * @param moduleIDList An array of TargetModuleID objects representing * the root modules to be stopped. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @return ProgressObject an object that tracks and reports the * status of the stop operation. */ public ProgressObject undeploy(TargetModuleID[] moduleIDList) throws IllegalStateException; /** * This method designates whether this platform vendor provides * application redeployment functionality. A value of true means * it is supported. False means it is not. * * @return A value of true means redeployment is supported by this * vendor's DeploymentManager. False means it * is not. */ public boolean isRedeploySupported(); /** * (optional) * The redeploy method provides a means for updating currently * deployed J2EE applications. This is an optional method for * vendor implementation. * * Redeploy replaces a currently deployed application with an * updated version. The runtime configuration information for * the updated application must remain identical to the application * it is updating. * * When an application update is redeployed, all existing client * connections to the original running application must not be disrupted; * new clients will connect to the application update. * * This operation is valid for TargetModuleIDs that represent a * root module. A root TargetModuleID has no parent. A root * TargetModuleID module and all its child modules will be redeployed. * A child TargetModuleID module cannot be individually redeployed. * The redeploy operation is complete only when this action for * all the modules has completed. * * @param moduleIDList An array of designators of the applications * to be updated. * @param moduleArchive The file name of the application archive * to be disrtibuted. * @param deploymentPlan The deployment configuration information * associated with this application archive. * @return ProgressObject an object that tracks and reports the * status of the redeploy operation. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @throws UnsupportedOperationException this optional command * is not supported by this implementation. */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan) throws UnsupportedOperationException, IllegalStateException; /** * (optional) * The redeploy method provides a means for updating currently * deployed J2EE applications. This is an optional method for * vendor implementation. * * Redeploy replaces a currently deployed application with an * updated version. The runtime configuration information for * the updated application must remain identical to the application * it is updating. * * When an application update is redeployed, all existing client * connections to the original running application must not be disrupted; * new clients will connect to the application update. * * This operation is valid for TargetModuleIDs that represent a * root module. A root TargetModuleID has no parent. A root * TargetModuleID module and all its child modules will be redeployed. * A child TargetModuleID module cannot be individually redeployed. * The redeploy operation is complete only when this action for * all the modules has completed. * * @param moduleIDList An array of designators of the applications * to be updated. * @param moduleArchive The input stream containing the application * archive to be disrtibuted. * @param deploymentPlan The input stream containing the runtime * configuration information associated with * this application archive. * @return ProgressObject an object that tracks and reports the * status of the redeploy operation. * @throws IllegalStateException is thrown when the method is * called when running in disconnected mode. * @throws UnsupportedOperationException this optional command * is not supported by this implementation. */ public ProgressObject redeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) throws UnsupportedOperationException, IllegalStateException; /** * The release method is the mechanism by which the tool signals * to the DeploymentManager that the tool does not need it to * continue running connected to the platform. * * The tool may be signaling it wants to run in a disconnected * mode or it is planning to shutdown. * * When release is called the DeploymentManager may close any * J2EE resource connections it had for deployment configuration * and perform other related resource cleanup. It should not * accept any new operation requests (i.e., distribute, start * stop, undeploy, redeploy. It should finish any operations * that are currently in process. Each ProgressObject associated * with a running operation should be marked as released (see * the ProgressObject). * */ public void release(); /** * Returns the default locale supported by this implementation of * javax.enterprise.deploy.spi subpackages. * * @return Locale the default locale for this implementation. */ public Locale getDefaultLocale(); /** * Returns the active locale this implementation of * javax.enterprise.deploy.spi subpackages is running. * * @return Locale the active locale of this implementation. */ public Locale getCurrentLocale(); /** * Set the active locale for this implementation of * javax.enterprise.deploy.spi subpackages to run. * * @throws UnsupportedOperationException the provide locale is * not supported. */ public void setLocale(Locale locale) throws UnsupportedOperationException; /** * Returns an array of supported locales for this implementation. * * @return Locale[] the list of supported locales. */ public Locale[] getSupportedLocales(); /** * Reports if this implementation supports the designated locale. * * @return A value of 'true' means it is support and 'false' it is * not. */ public boolean isLocaleSupported(Locale locale); /** * Returns the J2EE platform version number for which the * configuration beans are provided. The beans must have * been compiled with the J2SE version required by the J2EE * platform. * * @return a DConfigBeanVersionType object representing the * platform version number for which these beans are provided. */ public DConfigBeanVersionType getDConfigBeanVersion(); /** * Returns 'true' if the configuration beans support the J2EE platform * version specified. It returns 'false' if the version is * not supported. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @return 'true' if the version is supported and 'false if not. */ public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version); /** * Set the configuration beans to be used to the J2EE platform * version specificed. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @throws DConfigBeanVersionUnsupportedException when the * requested bean version is not supported. */ public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException; } --- NEW FILE: Target.java --- package javax.enterprise.deploy.spi; /** * A Target interface represents a single logical * core server of one instance of a J2EE platform * product. It is a designator for a server and * the implied location to copy a configured * application for the server to access. */ public interface Target { /** * Retrieve the name of the target server. */ public String getName(); /** * Retrieve other descriptive information * about the target. */ public String getDescription(); } --- NEW FILE: TargetModuleID.java --- package javax.enterprise.deploy.spi; /** * A TargetModuleID interface represents a unique * identifier for a deployed application module. * A deployable application module can be an EAR, * JAR, WAR or RAR file. * * A TargetModuleID can represent a root module or * a child module. A root module TargetModuleID * has no parent. It represents a deployed EAR * file or stand alone module. A child module * TargetModuleID represents a deployed sub module * of a J2EE application. * * A child TargetModuleID has only one parent, * the super module it was bundled and deployed * with. * * The identifier consists of the target name * and the unique identifier for the deployed * application module. */ public interface TargetModuleID { /** * Retrieve the name of the target server. * this module was deployed to. * * @return Target an object representing * a server target. */ public Target getTarget(); /** * Retrieve the id assigned to represent * the deployed module. */ public String getModuleID(); /** * Retrieve the identifier representing * the deployed module. */ public String toString(); /** * Retrieve the identifier of the parent * object of this deployed module. If there * is no parent then this is the root object * deployed. The root could represent an EAR * file or it could be a stand alone module * that was deployed. * * @return the TargetModuleID of the parent * of this object. A <code>null</code> * value means this module is the root * object deployed. */ public TargetModuleID getParentTargetModuleID(); /** * Retrieve a list of identifiers of the children * of this deployed module. * * @return a list of TargetModuleIDs identifying the * childern of this object. A <code>null</code> * value means this module has no childern */ public TargetModuleID[] getChildTargetModuleID(); } |
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/status In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/spi/status Added Files: ClientConfiguration.java DeploymentStatus.java ProgressEvent.java ProgressListener.java ProgressObject.java Log Message: Initial Import --- NEW FILE: ClientConfiguration.java --- package javax.enterprise.deploy.spi.status; import java.io.Serializable; import javax.enterprise.deploy.spi.exceptions.ClientExecuteException; /** * The ClientConfiguration object configures an Application * Client for execution by a deployment tool. This class * should resolve the settings for installing and running * the application client. */ /** * The ClientConfiguration object installs, configures and * executes an Application Client. This class resolves the * settings for installing and running the application client. */ public interface ClientConfiguration extends Serializable { /** * This method performs an exec and starts the * application client running in another process. * * @throws ClientExecuteException when the configuration * is incomplete. */ public void execute() throws ClientExecuteException; } --- NEW FILE: DeploymentStatus.java --- package javax.enterprise.deploy.spi.status; import javax.enterprise.deploy.shared.StateType; import javax.enterprise.deploy.shared.CommandType; import javax.enterprise.deploy.shared.ActionType; /** * The DeploymentStatus interface provides information about * the progress status of a deployment action. */ public interface DeploymentStatus { /** * Retrieve the StateType value. * * @return State value */ public int getState(); /** * Retrieve the deployment CommandType of this event. * * @return command value */ public int getCommand(); /** * Retrieve the deployment ActionType for this event. * * @return action value */ public int getAction(); /** * Retrieve any additional information about the * status of this event. * * @return message text */ public String getMessage(); /** * A convience method to report if the operation is * in the completed state. * * @return true if this command has completed successfully */ public boolean isCompleted(); /** * A convience method to report if the operation is * in the failed state. * * @return true if this command has failed */ public boolean isFailed(); /** * A convience method to report if the operation is * in the running state. * * @return true if this command is still running */ public boolean isRunning(); } --- NEW FILE: ProgressEvent.java --- package javax.enterprise.deploy.spi.status; import javax.enterprise.deploy.spi.TargetModuleID; import java.util.EventObject; /** * An event which indicates that a deployment * status change has occurred. * * @see ProgressObjectListener * @see ProgressObject */ public class ProgressEvent extends EventObject { private DeploymentStatus statuscode; private TargetModuleID targetModuleID; /** * Creates a new object representing a deployment * progress event. * * @param source the object on which the Event initially occurred. * @param sCode the object containing the status * information. */ public ProgressEvent (Object source, TargetModuleID targetModuleID, DeploymentStatus sCode) { super(source); this.statuscode = sCode; this.targetModuleID = targetModuleID; } /** * Retrieve the TargetModuleID for this event * * @return the object containing the TargetModuleID */ public TargetModuleID getTargetModuleID() { return targetModuleID; } /** * Retrieve the status information. * * @return the object containing the status information. */ public DeploymentStatus getDeploymentStatus() { return statuscode; } } --- NEW FILE: ProgressListener.java --- package javax.enterprise.deploy.spi.status; import java.util.EventListener; /** * The listener interface for receiving deployment * progress events. */ public interface ProgressListener extends EventListener { /** * Invoked when a deployment progress event occurs. * * @param event the progress status event. */ public void handleProgressEvent(ProgressEvent event); } --- NEW FILE: ProgressObject.java --- package javax.enterprise.deploy.spi.status; import javax.enterprise.deploy.spi.TargetModuleID; import javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException; /** * The ProgressObject interface tracks and reports * the progress of the deployment activities, * distribute, start, stop, undeploy. * * <p>This class has an <code> optional</code> cancel * method. The support of the cancel function can * be tested by the isCancelSupported method. * </p> * * <p>The ProgressObject structure allows the * user the option of polling for status or to * provide a callback. * </p> */ public interface ProgressObject { /** * Retrieve the status of this activity. * * @return An object containing the status * information. */ public DeploymentStatus getDeploymentStatus(); /** * Retrieve the list of TargetModuleIDs successfully * processed or created by the associated DeploymentManager * operation. * * @return a list of TargetModuleIDs. */ public TargetModuleID [] getResultTargetModuleIDs(); /** * Return the ClientConfiguration object associated with the * TargetModuleID. * * @return ClientConfiguration for a given TargetModuleID or * null if none exists. */ public ClientConfiguration getClientConfiguration(TargetModuleID id); /** * Tests whether the vendor supports a cancel * opertation for deployment activities. * * @return <code>true</code> if canceling an * activity is supported by this platform. */ public boolean isCancelSupported(); /** * (optional) * A cancel request on an in-process operation * stops all further processing of the operation and returns * the environment to it original state before the operation * was executed. An operation that has run to completion * cannot be cancelled. * * @throws OperationUnsupportedException this optional command * is not supported by this implementation. */ public void cancel() throws OperationUnsupportedException; /** * Tests whether the vendor supports a stop * opertation for deployment activities. * * @return <code>true</code> if canceling an * activity is supported by this platform. */ public boolean isStopSupported(); /** * (optional) * A stop request on an in-process operation allows the * operation on the current TargetModuleID to run to completion but * does not process any of the remaining unprocessed TargetModuleID * objects. The processed TargetModuleIDs must be returned by the * method getResultTargetModuleIDs. * * @throws OperationUnsupportedException this optional command * is not supported by this implementation. */ public void stop() throws OperationUnsupportedException; /** * Add a listener to receive Progress events on deployment * actions. * * @param The listener to receive events * @see ProgressEvent */ public void addProgressListener(ProgressListener pol); /** * Remove a ProgressObject listener. * * @param The listener being removed * @see ProgressEvent */ public void removeProgressListener(ProgressListener pol); } |
Update of /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr77/src/main/javax/management/j2ee Added Files: AppClientModule.java EJB.java EJBModule.java EJBStats.java EntityBean.java EntityBeanStats.java EventProvider.java J2EEApplication.java J2EEDeployedObject.java J2EEDomain.java J2EEManagedObject.java J2EEModule.java J2EEResource.java J2EEServer.java JCAConnectionFactory.java JCAConnectionPoolStats.java JCAConnectionStats.java JCAManagedConnectionFactory.java JCAResource.java JCAStats.java JDBCConnectionPoolStats.java JDBCConnectionStats.java JDBCDataSource.java JDBCDriver.java JDBCResource.java JDBCStats.java JMSConnectionStats.java JMSConsumerStats.java JMSEndpointStats.java JMSProducerStats.java JMSResource.java JMSSessionStats.java JMSStats.java JNDIResource.java JTAResource.java JTAStats.java JVM.java JVMStats.java JavaMailResource.java JavaMailStats.java ListenerRegistration.java Management.java ManagementHome.java MessageDrivenBean.java MessageDrivenBeanStats.java RMI_IIOPResource.java ResourceAdapter.java ResourceAdapterModule.java Servlet.java ServletStats.java SessionBean.java SessionBeanStats.java StateManageable.java StatefulSessionBean.java StatefulSessionBeanStats.java StatelessSessionBean.java StatelessSessionBeanStats.java StatisticsProvider.java Stats.java URLResource.java URLStats.java WebModule.java Log Message: Initial Import --- NEW FILE: AppClientModule.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface AppClientModule extends J2EEModule { } --- NEW FILE: EJB.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EJB extends J2EEManagedObject { } --- NEW FILE: EJBModule.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EJBModule extends J2EEModule { /** * Getter for the ejb attribute * * @param i Description of Parameter * @return The value of ejb attribute */ public ObjectName getEjb(int i); /** * Getter for the ejbs attribute * * @return The value of ejbs attribute */ public ObjectName[] getEjbs(); } --- NEW FILE: EJBStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EJBStats extends Stats { /** * Getter for the createCount attribute * * @return The value of createCount attribute */ public CountStatistic getCreateCount(); /** * Getter for the removeCount attribute * * @return The value of removeCount attribute */ public CountStatistic getRemoveCount(); } --- NEW FILE: EntityBean.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EntityBean extends EJB { } --- NEW FILE: EntityBeanStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.RangeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EntityBeanStats extends EJBStats { /** * Getter for the readyCount attribute * * @return The value of readyCount attribute */ public RangeStatistic getReadyCount(); /** * Getter for the pooledCount attribute * * @return The value of pooledCount attribute */ public RangeStatistic getPooledCount(); } --- NEW FILE: EventProvider.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface EventProvider { /** * Getter for the type attribute * * @param i Description of Parameter * @return The value of type attribute */ public String getEventType(int i); /** * Getter for the types attribute * * @return The value of types attribute */ public String[] getEventTypes(); } --- NEW FILE: J2EEApplication.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEApplication extends J2EEDeployedObject { /** * Getter for the module attribute * * @param i Description of Parameter * @return The value of module attribute */ public ObjectName getModule(int i); /** * Getter for the modules attribute * * @return The value of modules attribute */ public ObjectName[] getModules(); } --- NEW FILE: J2EEDeployedObject.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEDeployedObject extends J2EEManagedObject { /** * Getter for the deploymentDescriptor attribute * * @return The value of deploymentDescriptor attribute */ public String getDeploymentDescriptor(); /** * Getter for the server1 attribute * * @return The value of server1 attribute */ public ObjectName getServer(); } --- NEW FILE: J2EEDomain.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEDomain extends J2EEManagedObject { /** * Getter for the server attribute * * @param i Description of Parameter * @return The value of server attribute */ public ObjectName getServer(int i); /** * Getter for the servers attribute * * @return The value of servers attribute */ public ObjectName[] getServers(); } --- NEW FILE: J2EEManagedObject.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEManagedObject { /** * Getter for the name attribute * * @return The value of name attribute */ public String getObjectName(); /** * Getter for the eventProvider attribute * * @return The value of eventProvider attribute */ public boolean isEventProvider(); /** * Getter for the stateManageable attribute * * @return The value of stateManageable attribute */ public boolean isStateManageable(); /** * Getter for the statisticsProvider attribute * * @return The value of statisticsProvider attribute */ public boolean isStatisticsProvider(); } --- NEW FILE: J2EEModule.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEModule extends J2EEDeployedObject { /** * Getter for the javaVM attribute * * @param i Description of Parameter * @return The value of javaVM attribute */ public ObjectName getJavaVM(int i); /** * Getter for the javaVMs attribute * * @return The value of javaVMs attribute */ public ObjectName[] getJavaVMs(); } --- NEW FILE: J2EEResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEResource extends J2EEManagedObject { } --- NEW FILE: J2EEServer.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface J2EEServer extends J2EEManagedObject { /** * Getter for the deployedObject attribute * * @param i Description of Parameter * @return The value of deployedObject attribute */ public ObjectName getDeployedObject(int i); /** * Getter for the deployedObjects attribute * * @return The value of deployedObjects attribute */ public ObjectName[] getDeployedObjects(); /** * Getter for the javaVM attribute * * @param i Description of Parameter * @return The value of javaVM attribute */ public ObjectName getJavaVM(int i); /** * Getter for the javaVMs attribute * * @return The value of javaVMs attribute */ public ObjectName[] getJavaVMs(); /** * Getter for the node attribute * * @param i Description of Parameter * @return The value of node attribute */ public ObjectName getNode(int i); /** * Getter for the nodes attribute * * @return The value of nodes attribute */ public ObjectName[] getNodes(); /** * Getter for the resource attribute * * @param i Description of Parameter * @return The value of resource attribute */ public ObjectName getResource(int i); /** * Getter for the resources attribute * * @return The value of resources attribute */ public ObjectName[] getResources(); /** * Getter for the serverVendor attribute * * @return The value of serverVendor attribute */ public String getServerVendor(); /** * Getter for the serverVersion attribute * * @return The value of serverVersion attribute */ public String getServerVersion(); } --- NEW FILE: JCAConnectionFactory.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JCAConnectionFactory extends J2EEManagedObject { /** * Getter for the managedConnectionFactory attribute * * @return The value */ public ObjectName getManagedConnectionFactory(); } --- NEW FILE: JCAConnectionPoolStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.BoundedRangeStatistic; import javax.management.j2ee.statistics.CountStatistic; import javax.management.j2ee.statistics.RangeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JCAConnectionPoolStats extends JCAConnectionStats { /** * Getter for the closeCount attribute * * @return The value of closeCount attribute */ public CountStatistic getCloseCount(); /** * Getter for the createCount attribute * * @return The value of createCount attribute */ public CountStatistic getCreateCount(); /** * Getter for the freePoolSize attribute * * @return The value of freePoolSize attribute */ public BoundedRangeStatistic getFreePoolSize(); /** * Getter for the poolSize attribute * * @return The value of poolSize attribute */ public BoundedRangeStatistic getPoolSize(); /** * Getter for the waitingThreadCount attribute * * @return The value of waitingThreadCount attribute */ public RangeStatistic getWaitingThreadCount(); } --- NEW FILE: JCAConnectionStats.java --- package javax.management.j2ee; import javax.management.ObjectName; import javax.management.j2ee.statistics.TimeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JCAConnectionStats extends Stats { /** * Getter for the connectionFactory attribute * * @return The value of connectionFactory attribute */ public ObjectName getConnectionFactory(); /** * Getter for the managedConnectionFactory attribute * * @return The value of managedConnectionFactory attribute */ public Object getManagedConnectionFactory(); /** * Getter for the waitTime attribute * * @return The value of waitTime attribute */ public TimeStatistic getWaitTime(); /** * Getter for the useTime attribute * * @return The value of useTime attribute */ public TimeStatistic getUseTime(); } --- NEW FILE: JCAManagedConnectionFactory.java --- package javax.management.j2ee; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JCAManagedConnectionFactory extends J2EEManagedObject { } --- NEW FILE: JCAResource.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JCAResource extends J2EEResource { /** * Getter for the connectionFactory attribute * * @param i Description of Parameter * @return The value */ public ObjectName getConnectionFactory(int i); /** * Getter for the connectionFactories attribute * * @return The value */ public ObjectName[] getConnectionFactories(); } --- NEW FILE: JCAStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JCAStats extends Stats { /** * Getter for the connections attribute * * @return The value of connections attribute */ public JCAConnectionStats[] getConnections(); /** * Getter for the connectionPools attribute * * @return The value of connectionPools attribute */ public JCAConnectionPoolStats[] getConnectionPools(); } --- NEW FILE: JDBCConnectionPoolStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.BoundedRangeStatistic; import javax.management.j2ee.statistics.CountStatistic; import javax.management.j2ee.statistics.RangeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JDBCConnectionPoolStats extends JDBCConnectionStats { /** * Getter for the closeCount attribute * * @return The value of closeCount attribute */ public CountStatistic getCloseCount(); /** * Getter for the createCount attribute * * @return The value of createCount attribute */ public CountStatistic getCreateCount(); /** * Getter for the freePoolSize attribute * * @return The value of freePoolSize attribute */ public BoundedRangeStatistic getFreePoolSize(); /** * Getter for the poolSize attribute * * @return The value of poolSize attribute */ public BoundedRangeStatistic getPoolSize(); /** * Getter for the waitingThreadCount attribute * * @return The value of waitingThreadCount attribute */ public RangeStatistic getWaitingThreadCount(); } --- NEW FILE: JDBCConnectionStats.java --- package javax.management.j2ee; import javax.management.ObjectName; import javax.management.j2ee.statistics.TimeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JDBCConnectionStats extends Stats { /** * Getter for the jdbcDataSource attribute * * @return The value of jdbcDataSource attribute */ public ObjectName getJdbcDataSource(); /** * Getter for the waitTime attribute * * @return The value of waitTime attribute */ public TimeStatistic getWaitTime(); /** * Getter for the useTime attribute * * @return The value of useTime attribute */ public TimeStatistic getUseTime(); } --- NEW FILE: JDBCDataSource.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JDBCDataSource extends J2EEManagedObject { /** * Getter for the jdbcDriver attribute * * @return The value of jdbcDriver attribute */ public ObjectName getJdbcDriver(); } --- NEW FILE: JDBCDriver.java --- package javax.management.j2ee; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JDBCDriver extends J2EEManagedObject { } --- NEW FILE: JDBCResource.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JDBCResource extends J2EEResource { /** * Getter for the jdbcDataSource attribute * * @param i Description of Parameter * @return The value of jdbcDataSource attribute */ public ObjectName getJdbcDataSource(int i); /** * Getter for the jdbcDataSources attribute * * @return The value of jdbcDataSources attribute */ public ObjectName[] getJdbcDataSources(); } --- NEW FILE: JDBCStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JDBCStats extends Stats { /** * Getter for the connections attribute * * @return The value of connections attribute */ public JDBCConnectionStats[] getConnections(); /** * Getter for the connectionPools attribute * * @return The value of connectionPools attribute */ public JDBCConnectionPoolStats[] getConnectionPools(); } --- NEW FILE: JMSConnectionStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSConnectionStats extends Stats { /** * Getter for the sessions attribute * * @return The value of sessions attribute */ public JMSSessionStats[] getSessions(); /** * Getter for the transactional attribute * * @return The value of transactional attribute */ public boolean isTransactional(); } --- NEW FILE: JMSConsumerStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSConsumerStats extends JMSEndpointStats { /** * Getter for the origin attribute * * @return The value of origin attribute */ public String getOrigin(); } --- NEW FILE: JMSEndpointStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; import javax.management.j2ee.statistics.TimeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSEndpointStats extends Stats { /** * Getter for the messageCount attribute * * @return The value of messageCount attribute */ public CountStatistic getMessageCount(); /** * Getter for the pendingMessageCount attribute * * @return The value of pendingMessageCount attribute */ public CountStatistic getPendingMessageCount(); /** * Getter for the expiredMessageCount attribute * * @return The value of expiredMessageCount attribute */ public CountStatistic getExpiredMessageCount(); /** * Getter for the messageWaitTime attribute * * @return The value of messageWaitTime attribute */ public TimeStatistic getMessageWaitTime(); } --- NEW FILE: JMSProducerStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSProducerStats extends JMSEndpointStats { /** * Getter for the destination attribute * * @return The value of destination attribute */ public String getDestination(); } --- NEW FILE: JMSResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSResource extends J2EEResource { } --- NEW FILE: JMSSessionStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; import javax.management.j2ee.statistics.TimeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSSessionStats extends Stats { /** * Getter for the producers attribute * * @return The value of producers attribute */ public JMSProducerStats[] getProducers(); /** * Getter for the consumers attribute * * @return The value of consumers attribute */ public JMSConsumerStats[] getConsumers(); /** * Getter for the messageCount attribute * * @return The value of messageCount attribute */ public CountStatistic getMessageCount(); /** * Getter for the pendingMessageCount attribute * * @return The value of pendingMessageCount attribute */ public CountStatistic getPendingMessageCount(); /** * Getter for the expiredMessageCount attribute * * @return The value of expiredMessageCount attribute */ public CountStatistic getExpiredMessageCount(); /** * Getter for the messageWaitTime attribute * * @return The value of messageWaitTime attribute */ public TimeStatistic getMessageWaitTime(); /** * Getter for the durableSubscriptionCount attribute * * @return The value of durableSubscriptionCount attribute */ public CountStatistic getDurableSubscriptionCount(); } --- NEW FILE: JMSStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JMSStats extends Stats { /** * Getter for the connections attribute * * @return The value of connections attribute */ public JMSConnectionStats[] getConnections(); } --- NEW FILE: JNDIResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JNDIResource extends J2EEResource { } --- NEW FILE: JTAResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JTAResource extends J2EEResource { } --- NEW FILE: JTAStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JTAStats extends Stats { /** * Getter for the activeCount attribute * * @return The value of activeCount attribute */ public CountStatistic getActiveCount(); /** * Getter for the commitedCount attribute * * @return The value of commitedCount attribute */ public CountStatistic getCommitedCount(); /** * Getter for the rolledbackCount attribute * * @return The value of rolledbackCount attribute */ public CountStatistic getRolledbackCount(); } --- NEW FILE: JVM.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface JVM extends J2EEManagedObject { /** * Getter for the javaVendor attribute * * @return The value */ public String getJavaVendor(); /** * Getter for the javaVersion attribute * * @return The value */ public String getJavaVersion(); /** * Getter for the node attribute * * @return The value */ public String getNode(); } --- NEW FILE: JVMStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.BoundedRangeStatistic; import javax.management.j2ee.statistics.CountStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JVMStats extends Stats { /** * Getter for the upTime attribute * * @return The value of upTime attribute */ public CountStatistic getUpTime(); /** * Getter for the heapSizes attribute * * @return The value of heapSizes attribute */ public BoundedRangeStatistic[] getHeapSizes(); } --- NEW FILE: JavaMailResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JavaMailResource extends J2EEResource { } --- NEW FILE: JavaMailStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface JavaMailStats extends Stats { /** * Getter for the sentMailCount attribute * * @return The value of sentMailCount attribute */ public CountStatistic getSentMailCount(); } --- NEW FILE: ListenerRegistration.java --- package javax.management.j2ee; import java.io.Serializable; import java.rmi.RemoteException; import javax.management.InstanceNotFoundException; import javax.management.ListenerNotFoundException; import javax.management.NotificationFilter; import javax.management.NotificationListener; import javax.management.ObjectName; /** * Interface how a client can add its local listener on the * remote Management EJB. * * @author <a href="mailto:mar...@jb...">Marc Fleury</a> * @author <a href="mailto:an...@jb...">Andreas Schaefer</a> **/ public interface ListenerRegistration extends Serializable { // ------------------------------------------------------------------------- // Methods // ------------------------------------------------------------------------- /** * Adds a new local (client-side) listener on the Management EJB (server-side) * to listen for Notifications. If the call is local (in the same JVM) then * it can optimize the call to local. * * @param pName Object Name of the Managed Object we want to listen for notifications * @param pListener Local (client-side) Notification Listener to finally receive the * notifications * @param pFilter Notification Filter to reduce the notifications to what the client * expects * @param pHandback Handback object sent back to the client on every Notifications * delivered based on this registration **/ public void addNotificationListener( ObjectName pName, NotificationListener pListener, NotificationFilter pFilter, Object pHandback ) throws InstanceNotFoundException, RemoteException; /** * Removes the notification listener from the Management EJB (server-side) * based on the given local (client-side) listener. * * @param pName Object Name of the Managed Object the Listener was added to listen for * @param pListener Local (client-side) Notification Listener used to add the * notification listener **/ public void removeNotificationListener( ObjectName pName, NotificationListener pListener ) throws InstanceNotFoundException, ListenerNotFoundException, RemoteException; } --- NEW FILE: Management.java --- package javax.management.j2ee; import java.rmi.RemoteException; import java.util.Set; import javax.ejb.EJBObject; import javax.management.Attribute; import javax.management.AttributeList; import javax.management.AttributeNotFoundException; import javax.management.InstanceNotFoundException; import javax.management.IntrospectionException; import javax.management.InvalidAttributeValueException; import javax.management.MBeanException; import javax.management.MBeanInfo; import javax.management.ObjectName; import javax.management.QueryExp; import javax.management.ReflectionException; /** * Remote Interface of the Management EJB * * @author <a href="mailto:ma...@jb...">Marc Fleury</a> * @author <a href="mailto:an...@jb...">Andreas Schaefer</a> * @version $Revision: 1.1 $ * * <p><b>Revisions:</b> * * <p><b>200112009 Andreas Schaefer:</b> * <ul> * <li> Adjustment to the new JBoss guide lines and also adjustments * to the latest JSR-77 specification * </ul> **/ public interface Management extends EJBObject { // Constants ----------------------------------------------------- // Public -------------------------------------------------------- /** * Gets the value of a specific attribute of a named managed object. The * managed object is identified by its object name * * @param pName Object Name of the managed object from which the attribute * is to be retrieved * @param pAttribute Name of the Attribute to be retrieved which is case * sensitive * @return Value of the specified attribute * @throws AttributeNotFound Specified attribute is not accessible in the * managed object * @throws ManagedObjectException Wraps an exception thrown by the manged * object's getter * @throws InstanceNotFoundException Specified managed object is not registered * in the MEJB * @throws ReflectionException Wraps a exception thrown when trying to * the setter (??) * @throws RuntimeOperationsException Wraps an IllegalArgumentException * when the given object name is null or the * given attribute is null **/ public Object getAttribute( ObjectName pName, String pAttribute ) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException; /** * Gets the values of the specified attributes of a named managed object. The * managed object is identified by its object name * * @param pName Object Name of the managed object from which the attribute * is to be retrieved * @param pAttributes Names of the Attribute to be retrieved which is case * sensitive * @return List of retrieved attributes * @throws InstanceNotFoundException Specified managed object is not registered * in the MEJB * @throws ReflectionException Wraps a exception thrown when trying to * the setter (??) * @throws RuntimeOperationsException Wraps an IllegalArgumentException * when the given object name is null or the * given attribute is null **/ public AttributeList getAttributes( ObjectName pName, String[] pAttributes ) throws InstanceNotFoundException, ReflectionException, RemoteException; /** * @return Domain Name of this MEJB **/ public String getDefaultDomain() throws RemoteException; /** * @returns the number of managed objects registered in the MEJB **/ public Integer getMBeanCount() throws RemoteException; /** * Returns the MBean info about the requested Managed Object * * @param pName Object Name of the Managed Object * * @return MBeanInfo instance of the requested Managed Object **/ public MBeanInfo getMBeanInfo( ObjectName pName ) throws IntrospectionException, InstanceNotFoundException, ReflectionException, RemoteException; public ListenerRegistration getListenerRegistry() throws RemoteException; /** * Invokes an operation on the specified managed object * * @param pName Object Name of the managed object on which the method is to * be invoked * @param pOperationName Name of the Operation to be invoked * @param pParams List of parameters to be set as parameter when the operation * is invoked * @param pSignature List of types of the parameter list of the operation. The * class objects will be loaded using the same class loader as * the one used for loading the managed object on which the * operation was invoked * @return The object returned by the operation, which represents the result of * invoking the operation on the managed object specified. * @throws InstanceNotFoundException Managed Object could not be found in the MEJB * by specifed object name * @throws ManageObjectException Wraps an excepton thrown by the managed object's * invoked method * @throws ReflectionException Wraps an Exception thrown while trying to invoke * the method **/ public Object invoke( ObjectName pName, String pOperationName, Object[] pParams, String[] pSignature ) throws InstanceNotFoundException, MBeanException, ReflectionException, RemoteException; /** * Checks whether an managed object, identified by its object name, is already * registered with the MEJB * * @param pName Object Name of the managed object to be checked * @return True if the managed object is already registerred is the MEJB * @throws RuntimeOperationsException Wraps a IllegalArgumentException if the * given object name is null **/ public boolean isRegistered( ObjectName pName ) throws RemoteException; /** * Gets the names of managed object controlled by the MEJB. This method enables * any of the following to be obtained: the names of all managed objects, the name * of a set of managed objects specified by pattern matching on the ObjectName, * a specific managed object (equivalent to testing whether an amanged object is * registered). When the object name is null or no domain and key properties are * specified, all objects are selected. It returns the set of ObjectNames for * the managed objects selected. * * @param pName Object Name pattern identifying the managed objects to be retrieved. * If null or no domain and key properties are specified, all the * managed objects registered will be retrieved. * @return Set of ObjectNames for the managed objects selected. If no managed * object satisfied the query, an emtpy list is returned **/ public Set queryNames( ObjectName pName, QueryExp query ) throws RemoteException; /** * Sets the value of a specific attribute of a named managed object. The managed * object is identified by its object name * * @param pName Object Name of the managed object from which the attribute * is to be retrieved * @param pAttribute Identification of the attribute to be set and the value it * is to be set to * @return Attribute with the value it was set to * @throws AttributeNotFoundException Specified attribute is not accessible in the * managed object * @throws InstanceNotFoundException Managed Object could not be found in the MEJB * by specifed object name * @throws InvalidAttributeValueException Given value for the attribute is not valid * @throws ReflectionException Wraps a exception thrown when trying to * the setter * @throws RuntimeOperationsException Wraps an IllegalArgumentException * when the given object name is null or the * given attribute is null **/ public void setAttribute( ObjectName pName, Attribute pAttribute ) throws AttributeNotFoundException, InstanceNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, RemoteException; /** * Sets the values of the specified attributes of a named managed object. The managed * object is identified by its object name * * @param pName Object Name of the managed object from which the attribute * is to be retrieved * @param pAttributes Identification of the attributes to be set and the values they * are to be set to * @return Attributes with the values they were set to * @throws InstanceNotFoundException Managed Object could not be found in the MEJB * by specifed object name * @throws ReflectionException Wraps a exception thrown when trying to * the setter * @throws RuntimeOperationsException Wraps an IllegalArgumentException * when the given object name is null or the given * list of attributes is null **/ public AttributeList setAttributes( ObjectName pName, AttributeList pAttributes ) throws InstanceNotFoundException, ReflectionException, RemoteException; // Package protected --------------------------------------------- // Protected ----------------------------------------------------- // Static inner classes ------------------------------------------------- } --- NEW FILE: ManagementHome.java --- package javax.management.j2ee; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBHome; /** * Home Interface of the Management EJB * * @author <a href="mailto:mar...@jb...">Marc Fleury</a> * @author <a href="mailto:an...@jb...">Andreas Schaefer</a> **/ public interface ManagementHome extends EJBHome { // ------------------------------------------------------------------------- // Methods // ------------------------------------------------------------------------- public Management create() throws CreateException, RemoteException; } --- NEW FILE: MessageDrivenBean.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface MessageDrivenBean extends EJB { } --- NEW FILE: MessageDrivenBeanStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.CountStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface MessageDrivenBeanStats extends EJBStats { /** * Getter for the messageCount attribute * * @return The value of messageCount attribute */ public CountStatistic getMessageCount(); } --- NEW FILE: RMI_IIOPResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author laurent * @created 10 mars 2002 */ public interface RMI_IIOPResource extends J2EEResource { } --- NEW FILE: ResourceAdapter.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface ResourceAdapter extends J2EEManagedObject { } --- NEW FILE: ResourceAdapterModule.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface ResourceAdapterModule extends J2EEModule { /** * Description of the Method * * @param i Description of Parameter * @return Description of the Returned Value */ public ObjectName ResourceAdapter(int i); /** * Getter for the resourceAdapters attribute * * @return The value of resourceAdapters attribute */ public ObjectName[] getResourceAdapters(); } --- NEW FILE: Servlet.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface Servlet extends J2EEManagedObject { } --- NEW FILE: ServletStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.TimeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface ServletStats extends Stats { /** * Getter for the serviceTime attribute * * @return The value of serviceTime attribute */ public TimeStatistic getServiceTime(); } --- NEW FILE: SessionBean.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface SessionBean extends EJB { } --- NEW FILE: SessionBeanStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.RangeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface SessionBeanStats extends EJBStats { /** * Getter for the methodReadyCount attribute * * @return The value of methodReadyCount attribute */ public RangeStatistic getMethodReadyCount(); } --- NEW FILE: StateManageable.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StateManageable extends EventProvider { /** Description of the Field */ public final static int STOPPED = 0; /** Description of the Field */ public final static int STOPPING = 1; /** Description of the Field */ public final static int STARTING = 2; /** Description of the Field */ public final static int RUNNING = 3; /** Description of the Field */ public final static int FAILED = 4; /** * Getter for the startTime attribute * * @return The value of startTime attribute */ public long getStartTime(); /** * Getter for the state attribute * * @return The value of state attribute */ public int getState(); /** Description of the Method */ public void start(); /** Description of the Method */ public void startRecursive(); /** Description of the Method */ public void stop(); } --- NEW FILE: StatefulSessionBean.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StatefulSessionBean extends SessionBean { } --- NEW FILE: StatefulSessionBeanStats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.RangeStatistic; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StatefulSessionBeanStats extends SessionBeanStats { /** * Getter for the passiveCount attribute * * @return The value of passiveCount attribute */ public RangeStatistic getPassiveCount(); } --- NEW FILE: StatelessSessionBean.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StatelessSessionBean extends SessionBean { } --- NEW FILE: StatelessSessionBeanStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StatelessSessionBeanStats extends SessionBeanStats { } --- NEW FILE: StatisticsProvider.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface StatisticsProvider { /** * Getter for the stats attribute * * @return The value of stats attribute */ public abstract Stats getStats(); } --- NEW FILE: Stats.java --- package javax.management.j2ee; import javax.management.j2ee.statistics.Statistic; /** * The Stats interface and its subinterfaces specify performance data accessors * for each of the specific managed object types. The data required by the * interfaces is commonly available on all platform implementations. Managed * objects that support statistics are permitted to provide support for a * subset of the accessors in the Stats interfaces. Managed objects indicate * which of the specified accessors return valid data by including only the * names of the supported statistics in the statisticNames list. The data * provided by a supported statistic must be exactly as specified by the * corresponding Stats interface. The Stats interfaces may be extended to * provide vendor specific performance statistics. Vendor specific perfomance * statistics must implement or extend one of the standard Statistics * interfaces. * * @author letiembl * @created 13 mars 2002 */ public interface Stats { /** * Returns a list of the names of the attributes from the specific Stats * interface that this object supports. Attributes named in the list must * correspond to the names of operations in the Stats interface that will * return Statistics object of the appropriate type which contains valid * data. Each operation in a Stats interface is an accessor which follows * the pattern getAttributeName. The AttributeName portion of the operation * name is the value that is returned as the name in the StatisticNames * list. * * @return The value of statisticNames attribute */ public String[] getStatisticNames(); /** * Returns a list of all the Statistic objects supported by this Stats * object. * * @return The value of statistics attribute */ public Statistic[] getStatistics(); /** * Returns a list of all the Statistic objects supported by this Stats * object. * * @param pName Description of Parameter * @return The value of statistic attribute */ public Statistic getStatistic(String pName); } --- NEW FILE: URLResource.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface URLResource extends J2EEResource { } --- NEW FILE: URLStats.java --- package javax.management.j2ee; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface URLStats extends Stats { } --- NEW FILE: WebModule.java --- package javax.management.j2ee; import javax.management.ObjectName; /** * Description of the Interface * * @author letiembl * @created 13 mars 2002 */ public interface WebModule extends J2EEModule { /** * Getter for the servlet attribute * * @param i Description of Parameter * @return The value of servlet attribute */ public ObjectName getServlet(int i); /** * Getter for the servlets attribute * * @return The value of servlets attribute */ public ObjectName[] getServlets(); } |