ejtools-cvs Mailing List for EJTools (Page 118)
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:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/factories In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/spi/factories Added Files: DeploymentFactory.java DeploymentFactoryManager.java DeploymentFactoryManager.java.new Log Message: Initial Import --- NEW FILE: DeploymentFactory.java --- package javax.enterprise.deploy.spi.factories; import javax.enterprise.deploy.spi.DeploymentManager; import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException; /** * The DeploymentFactory interface is a deployment driver for a * J2EE plaform product. It returns a DeploymentManager object * which represents a connection to a specific J2EE platform * product. * * <p> Each application server vendor must provide an implementation * of this class in order for the J2EE Deployment API to work * with their product. * * <p> The class implementing this interface should have a public * no-argument constructor, and it should be stateless (two instances * of the class should always behave the same). It is suggested but * not required that the class have a static initializer that registers * an instance of the class with the DeploymentFactoryManager class. * * <p> A <tt>connected</tt> or <tt>disconnected</tt> DeploymentManager * can be requested. A DeploymentManager that runs connected to the * platform can provide access to J2EE resources. A DeploymentManager * that runs disconnected only provides module deployment configuration * support. * * @see DeploymentFactoryManager */ public interface DeploymentFactory { /** * Tests whether this factory can create a DeploymentManager * object based on the specificed URI. This does not indicate * whether such an attempt will be successful, only whether the * factory can handle the uri. * @param uri The uri to check * @return <tt>true</tt> if the factory can handle the uri. */ public boolean handlesURI(String uri); /** * Return a <tt>connected</tt> DeploymentManager instance. * * @param uri The URI that specifies the connection parameters * @param username An optional username (may be <tt>null</tt> if * no authentication is required for this platform). * @param password An optional password (may be <tt>null</yy> if * no authentication is required for this platform). * @return A ready DeploymentManager instance. * @throws DeploymentManagerCreationException occurs when a * DeploymentManager could not be returned (server down, * unable to authenticate, etc). */ public DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException; /** * Return a <tt>disconnected</tt> DeploymentManager instance. * * @param uri the uri of the DeploymentManager to return. * @return A DeploymentManager <tt>disconnected</tt> instance. * @throws DeploymentManagerCreationException occurs if the * DeploymentManager could not be created. */ public DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException; /** * Provide a string with the name of this vendor's DeploymentManager. * @return the name of the vendor's DeploymentManager. */ public String getDisplayname(); /** * Provide a string identifying version of this vendor's * DeploymentManager. * @return the name of the vendor's DeploymentManager. */ public String getProductVersion(); } --- NEW FILE: DeploymentFactoryManager.java --- package javax.enterprise.deploy.spi.factories; import java.util.ArrayList; import java.util.List; import javax.enterprise.deploy.spi.DeploymentManager; import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException; /** * The DeploymentFactoryManager is a central registry for * J2EE deployment connections. The DeploymentFactoryManager * retains references to deployment factories preloaded and * explicitly loaded by this class. * * <p>The Deployer requests a <tt>connected</tt> DeploymentManager * instance by providing a URI which indicates the desired traget * product. The appropriate factory will try to make the connection * with the URI. * * <p>To acquire a <tt>disconnected</tt> DeploymentManager the tool * requests the list of available deployment factories by calling * getDeploymentFactories. The tool calls a returned DeploymentFactory * object's getDeploymentManager method with no arguments to get a * disconnected DeploymentManager. * * <p>Typically each DeploymentFactory class will register itself in * a static initializer, so the class only needs to be loaded in order * for it to be registered. Class names may be listed in the system * property "javax.enterprise.deploy.factories.factories" and they will be * automatically registered.</p> * * <p>Here is an example of the usage:</p> * <PRE> * * DeploymentManager manager; * String url = "deployer:weblogic:myserver:9999"; * String user = "admin"; * String password = "pw"; * manager = DeploymentFactoryManager.getDeploymentManager(url, * user, password); * if(manager != null) { * ... // Deploy an application * } * </PRE> */ public interface DeploymentFactoryManager { /** * Registers a DeploymentFactory so it will be able to handle * requests. */ public void registerDeploymentFactory(DeploymentFactory factory); /** * Retrieve the lists of currently registered DeploymentFactories. * * @return the list of DeploymentFactory objects or 'null' if there * are none. */ public DeploymentFactory[] getDeploymentFactories(); /** * Return a <tt>disconnected</tt> DeploymentManager instance. * * @param uri identifier of the disconnected DeploymentManager to * return. * @return A DeploymentManager instance. * @throws DeploymentDriverException occurs if the DeploymentManager * could not be created. */ public DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException; /** * Retrieves a DeploymentManager instance to use for deployment. * The caller provides a URI and optional username and password, * and all registered DeploymentFactories will be checked. The * first one to understand the URI provided will attempt to * initiate a server connection and return a ready DeploymentManager * instance. * * @param uri The uri to check * @param username An optional username (may be <tt>null</tt> if * no authentication is required for this platform). * @param password An optional password (may be <tt>null</yy> if * no authentication is required for this platform). * @return A ready DeploymentManager instance. * @throws DeploymentManagerCreationException * Occurs when the factory appropriate to the specified URI * was unable to initialize a DeploymentManager instance * (server down, unable to authenticate, etc.). */ public DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException; } --- NEW FILE: DeploymentFactoryManager.java.new --- package javax.enterprise.deploy.spi.factories; import java.util.ArrayList; import java.util.List; import javax.enterprise.deploy.spi.DeploymentManager; import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException; /** * The DeploymentFactoryManager is a central registry for J2EE deployment * connections. The DeploymentFactoryManager retains references to deployment * factories preloaded and explicitly loaded by this class. <p> * * The Deployer requests a <tt>connected</tt> DeploymentManager instance by * providing a URI which indicates the desired traget product. The appropriate * factory will try to make the connection with the URI. <p> * * To acquire a <tt>disconnected</tt> DeploymentManager the tool requests the * list of available deployment factories by calling getDeploymentFactories. * The tool calls a returned DeploymentFactory object's getDeploymentManager * method with no arguments to get a disconnected DeploymentManager. <p> * * Typically each DeploymentFactory class will register itself in a static * initializer, so the class only needs to be loaded in order for it to be * registered. Class names may be listed in the system property * "javax.enterprise.deploy.factories.factories" and they will be automatically * registered.</p> <p> * * Here is an example of the usage:</p> <PRE> * * DeploymentManager manager; * String url = "deployer:weblogic:myserver:9999"; * String user = "admin"; * String password = "pw"; * manager = DeploymentFactoryManager.getDeploymentManager(url, * user, password); * if(manager != null) { * ... // Deploy an application * } * </PRE> * * @author laurent * @created 23 mars 2002 */ public class DeploymentFactoryManager { /** Description of the Field */ private static java.util.Vector drivers = new java.util.Vector(); /** Description of the Field */ private static boolean initialized = false; /** Prevent the DriverManager class from being instantiated. */ private DeploymentFactoryManager() { } /** * Retrieve the lists of currently registered DeploymentFactories. * * @return the list of DeploymentFactory objects or 'null' if there are * none. */ public static DeploymentFactory[] getDeploymentFactories(); /** * Return a <tt>disconnected</tt> DeploymentManager instance. * * @param uri identifier of the * disconnected DeploymentManager to return. * @return A DeploymentManager * instance. * @exception DeploymentManagerCreationException Description of Exception * @throws DeploymentDriverException occurs if the * DeploymentManager could not be created. */ public static DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException; /** * Retrieves a DeploymentManager instance to use for deployment. The caller * provides a URI and optional username and password, and all registered * DeploymentFactories will be checked. The first one to understand the URI * provided will attempt to initiate a server connection and return a ready * DeploymentManager instance. * * @param uri The uri to check * @param username An optional username (may be * <tt>null</tt> if no authentication is required for this platform). * @param password An optional password (may be * <tt>null</yy> if no authentication is required for this platform). * @return A ready DeploymentManager * instance. * @throws DeploymentManagerCreationException Occurs when the factory * appropriate to the specified URI was unable to initialize a * DeploymentManager instance (server down, unable to authenticate, * etc.). */ public static DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException; /** * Registers a DeploymentFactory so it will be able to handle requests. * * @param factory Description of Parameter */ public static void registerDeploymentFactory(DeploymentFactory factory); } |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/tools In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/tools Added Files: tools.jar Log Message: Initial Import --- NEW FILE: tools.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/jboss/jmx In directory usw-pr-cvs1:/tmp/cvs-serv31212/jboss/jmx Added Files: LICENSE VERSION jboss-jmx-core.jar jboss-jmx-services.jar Log Message: Initial Import --- NEW FILE: LICENSE --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VERSION --- 3.0.0RC1 --- NEW FILE: jboss-jmx-core.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-jmx-services.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee/statistics In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr77/src/main/javax/management/j2ee/statistics Added Files: BoundaryStatistic.java BoundedRangeStatistic.java CountStatistic.java RangeStatistic.java Statistic.java TimeStatistic.java Log Message: Initial Import --- NEW FILE: BoundaryStatistic.java --- package javax.management.j2ee.statistics; /** * The BoundaryStatistic interface specifies standard measurements of the upper * and lower limits of the value of an attribute. * * @author letiembl * @created 13 mars 2002 */ public interface BoundaryStatistic extends Statistic { /** * Returns the lower limit of the value of this attribute. * * @return the lower limit */ public long getLowerBound(); /** * Returns the upper limit of the value of this attribute. * * @return the upper limit */ public long getUpperBound(); } --- NEW FILE: BoundedRangeStatistic.java --- package javax.management.j2ee.statistics; /** * The BoundedRangeStatistic interface extends the RangeStatistic and * BoundaryStatistic interfaces and provides standard measurements of a range * that has fixed limits. * * @author letiembl * @created 13 mars 2002 */ public interface BoundedRangeStatistic extends BoundaryStatistic, RangeStatistic { } --- NEW FILE: CountStatistic.java --- package javax.management.j2ee.statistics; /** * The CountStatistic interface specifies standard count measurements. * * @author letiembl * @created 13 mars 2002 */ public interface CountStatistic extends Statistic { /** * Returns the count since the measurement started. * * @return the count value */ public long getCount(); } --- NEW FILE: RangeStatistic.java --- package javax.management.j2ee.statistics; /** * Specifies standard measurements of the lowest and highest values an * attribute has held as well as its current value. * * @author letiembl * @created 13 mars 2002 */ public interface RangeStatistic extends Statistic { /** * Returns the lowest value this attribute has held since the beginning of * the measurement. * * @return the value */ public long getLowWaterMark(); /** * Returns the highest value this attribute has held since the beginning of * the measurement. * * @return the value */ public long getHighWaterMark(); /** * Returns the current value of this attribute. * * @return the value */ public long getCurrent(); } --- NEW FILE: Statistic.java --- package javax.management.j2ee.statistics; /** * The Statistic interface and its subinterfaces specify the required accessors * which provide the performance data described by the specific attributes in * the Stats interfaces. The Statistic subinterfaces specify accessors which * provide statistical data about count, time, and both bounded and unbounded * ranges. * * @author letiembl * @created 13 mars 2002 */ public interface Statistic { /** * Returns the name of this Statistic. The name must always correspond to * the name of the Stats accessor that is providing the data for this * statistic. * * @return the name of this Statistic */ public String getName(); /** * Returns the unit of measurement for this Statistic. Valid values for * TimeStatistic measurements are HOUR , MINUTE , SECOND , MILLISECOND , * MICROSECOND and NANOSECOND. * * @return the unit of measurement */ public String getUnit(); /** * Returns a human-readable description of the Statistic. * * @return a description */ public String getDescription(); /** * Returns the time the first measurment was taken represented as a long, * whose value is the number of milliseconds since January 1, 1970, * 00:00:00. * * @return the time of the first measurment */ public long getStartTime(); /** * Returns the time the most recent measurment was taken represented as a * long, whose value is the number of milliseconds since January 1, 1970, * 00:00:00. * * @return the time of the most recent measurment */ public long getLastSampleTime(); } --- NEW FILE: TimeStatistic.java --- package javax.management.j2ee.statistics; /** * Specifies standard timing measurements for a given operation. * * @author letiembl * @created 13 mars 2002 */ public interface TimeStatistic extends Statistic { /** Description of the Field */ public final static String HOUR = "HOUR"; /** Description of the Field */ public final static String MINUTE = "MINUTE"; /** Description of the Field */ public final static String SECOND = "SECOND"; /** Description of the Field */ public final static String MILLISECOND = "MILLISECOND"; /** Description of the Field */ public final static String MICROSECOND = "MICROSECOND"; /** Description of the Field */ public final static String NANOSECOND = "NANOSECOND"; /** * Returns the number of times the operation was invoked since the beginning * of this measurement. * * @return the value */ public long getCount(); /** * Returns the minimum amount of time taken to complete one invocation of * this operation since the beginning of this measurement. * * @return the value */ public long getMinTime(); /** * Returns the maximum amount of time taken to complete one invocation of * this operation since the beginning of this measurement. * * @return the value */ public long getMaxTime(); /** * Returns the sum total of time taken to complete every invocation of this * operation since the beginning of this measurement. Dividing totalTime by * count will give you the average execution time for this operation. * * @return the value */ public long getTotalTime(); } |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jndi In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jndi Added Files: jndi.jar Log Message: Initial Import --- NEW FILE: jndi.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jaxp In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jaxp Added Files: jaxp.jar xml.jar Log Message: Initial Import --- NEW FILE: jaxp.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xml.jar --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/model In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/model Added Files: DDBean.java DDBeanRoot.java DeployableObject.java J2eeApplicationObject.java XpathEvent.java XpathListener.java Log Message: Initial Import --- NEW FILE: DDBean.java --- package javax.enterprise.deploy.model; /** * An interface for beans that represent a fragment of a * standard deployment descriptor. A link is provided to * the J2EE application that includes this bean. */ public interface DDBean { /** * Returns the location in the deployment descriptor from which * this bean is derived. * @return The XPath of this Bean. */ public String getXpath(); /** * Returns the XML text for by this bean. * @return The XML text for this Bean. */ public String getText(); /** * Returns the ATTLIST ID value for the XML tag defined by * the Xpath for this bean. * @return The XML text for this Bean or 'null' if * no attribute was specifed with the tag. */ public String getId(); /** * Return the root element for this DDBean. * @return The DDBeanRoot at the root of this DDBean * tree. */ public DDBeanRoot getRoot(); /** * Return a list of DDBeans based upon the XPath. * @param xpath An XPath string referring to a location in the * same deployment descriptor as this standard bean. * @return a list of DDBeans or 'null' if no matching XML data is * found. */ public DDBean[] getChildBean(String xpath); /** * Return a list of text values for a given XPath in the * deployment descriptor. * @param xpath An XPath. * @return The list text values for this XPath or 'null' * if no matching XML data is found. */ public String[] getText(String xpath); /** * Register a listener for a specific XPath. * * @param xpath The XPath this listener is to be registered for. * @param xpl The listener object. */ public void addXpathListener(String xpath, XpathListener xpl); /** * Unregister a listener for a specific XPath. * * @param xpath The XPath from which this listener is to be * unregistered. * @param xpl The listener object. */ public void removeXpathListener(String xpath, XpathListener xpl); } --- NEW FILE: DDBeanRoot.java --- /* * DDBeanRoot.java * * Created on May 17, 2001, 3:23 PM */ package javax.enterprise.deploy.model; import javax.enterprise.deploy.shared.ModuleType; /** * An interface that represents the root of a standard deployment * descriptor. A DDBeanRoot is a type of DDBean. * * @author gfink */ public interface DDBeanRoot extends DDBean { /** * Return the ModuleType of deployment descriptor. * * @return The ModuleType of deployment descriptor */ public ModuleType getType(); /** * Return the containing DeployableObject * @return The DeployableObject that contains this * deployment descriptor */ public DeployableObject getDeployableObject(); /** * A convenience method to return the DTD version number. * The DeployableObject has this information. * @return a string containing the DTD version number */ public String getModuleDTDVersion(); /** * Return the XPath for this standard bean. * The root XPath is "/". * @return "/" this is the root standard bean. */ public String getXpath(); } --- NEW FILE: DeployableObject.java --- /* * DeployableObject.java * * Created on May 23, 2001, 12:38 PM */ package javax.enterprise.deploy.model; import javax.enterprise.deploy.shared.ModuleType; /** * The DeployableObject interface is an abstract representation * of a J2EE deployable module (JAR, WAR, RAR, EAR). A * DeployableObject provides access to the module's deployment * descriptor and class files. * * @author gfink * @version 0.1 */ public interface DeployableObject { /** * Return the ModuleType of deployment descriptor (i.e., EAR, * JAR, WAR, RAR) this deployable object represents. * Values are found in DeploymentManager. * * @return The ModuleType of deployable object */ public ModuleType getType(); /** * Return the top level standard bean representing * the root of the deployment descriptor. * * @return A standard bean representing the deployment * descriptor. */ public DDBeanRoot getDDBeanRoot(); /** * Return an array of standard beans representing the * XML content returned based upon the XPath. * * @param xpath An XPath string identifying the data to * be extracted from the deployment descriptor. * @return a array of DDBeans or 'null' if no matching data found. * */ public DDBean[] getChildBean(String xpath); /** * Return the XML content associated with the XPath * from a deployment descriptor. * * @param xpath An xpath string referring to a location in the * deployment descriptor * @return a list XML content or 'null' if no matching data found. */ public String[] getText(String xpath); /** * Retrieve the specified class from this deployable module. * <p> * One use: to get all finder methods from an EJB * * If the tool is attempting to package an module * and retrieve a class from the package, the class * request may fail. The class may not yet be * available. The tool should respect the manifest * cross-path entries. * * @param className Class to retrieve. * @return Class representation of the class */ public Class getClassFromScope(String className); /** * Returns the DTD version number given in the XML * DOCTYPE text provided in every standard J2EE module's * deployment descriptor file. * @return a string containing the DTD version number * * <PRE> * A module's deployment descriptor file always contains * a document type identifier, DOCTYPE. The DOCTYPE statement * contains the module DTD version number in the label of the * statement. * * The format of the DOCTYPE statement is: *<ul> * <!DOCTYPE root_element PUBLIC * "-//organization//label//language" "location"> *</ul> * * root_element - is the name of the root document in the DTD. * organization - is the name of the organization responsible * for the creation and maintenance of the DTD * being referenced. * label - is a unique descriptive name for the public text being * referenced. * language - is the ISO 639 language id representing the natural * language encoding of th DTD. * location - is the URL of the DTD. * * An example J2EE deployment descriptor DOCTYPE statement is: *<ul> * <!DOCTYPE application-client PUBLIC * "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" * "http://java.sun.com/dtd/application-client_1_3.dtd"> *</ul> * In this example the label is, "DTD J2EE Application Client 1.3", * and the DTD version number is 1.3. A call to getModuleDTDVersion * would return a string containing, "1.3". * </PRE> */ public String getModuleDTDVersion(); } --- NEW FILE: J2eeApplicationObject.java --- package javax.enterprise.deploy.model; import javax.enterprise.deploy.shared.ModuleType; /** * J2eeApplicationObject is an interface that represents a J2EE * application (EAR); it maintains a DeployableObject for each * module in the archive. */ public interface J2eeApplicationObject extends DeployableObject { /** * Return the DeployableObject of the specified URI designator. * @param uri Describes where to get the module from. * @return the DeployableObject describing the j2ee module at this uri * or 'null' if there is not match. */ public DeployableObject getDeployableObject(String uri); /** * Return the all DeployableObjects of the specified type. * @param type The type of module to return. * @return the list of DeployableObjects describing the j2ee module * at this uri or 'null' if there are no matches. */ public DeployableObject[] getDeployableObjects(ModuleType type); /** * Return the all DeployableObjects in this application. * @return the DeployableObject describing the j2ee module at this uri * or 'null' if there are no matches. */ public DeployableObject[] getDeployableObjects(); /** * Return the list of URIs of the designated module type. * @param type The type of module to return. * @return the Uris of the contained modules or 'null' if there * are no matches. */ public String[] getModuleUris(ModuleType type); /** * Return the list of URIs for all modules in the application. * @return the Uris of the contained modules or 'null' if there * are no matches. */ public String[] getModuleUris(); /** * Return a list of DDBean based upon an XPath; all * deployment descriptors of the specified type are searched. * * @param type The type of deployment descriptor to query. * @param xpath An XPath string referring to a location in the * deployment descriptor * @return The list of DDBeans or 'null' of there are no matches. */ public DDBean[] getChildBean(ModuleType type, String xpath); /** * Return the text value from the XPath; search only the * deployment descriptors of the specified type. * * @param type The type of deployment descriptor to query. * @param xpath An xpath string referring to a location in the * deployment descriptor * @return The text values of this xpath or 'null' if there are no * matches. */ public String[] getText(ModuleType type, String xpath); /** * Register a listener for changes in XPath that are related * to this deployableObject. * * @param type The type of deployment descriptor to query. * @param xpath The xpath to listen for. * @param xpl The listener. */ public void addXpathListener(ModuleType type, String xpath, XpathListener xpl); /** * Unregister the listener for an XPath. * * @param type The type of deployment descriptor to query. * @param xpath he XPath to listen for * @param xpl The listener */ public void removeXpathListener(ModuleType type, String xpath, XpathListener xpl); } --- NEW FILE: XpathEvent.java --- package javax.enterprise.deploy.model; import java.beans.PropertyChangeEvent; /** * An Event class describing ConfigBeans being added/subtracted * from a server configuration. */ public final class XpathEvent { private final DDBean bean; private final Object typ; private PropertyChangeEvent changeEvent; /** * Adding a DDBean */ public static final Object BEAN_ADDED = new Object(); /** * Removing a DDBean */ public static final Object BEAN_REMOVED = new Object(); /** * Changing a DDBean */ public static final Object BEAN_CHANGED = new Object(); /** * A description of a change in the ConfigBean tree. * @param bean The ConfigBean being added/removed. * @param typ Indicates an add/remove event. */ public XpathEvent(DDBean bean, Object typ) { this.bean = bean; this.typ = typ; } public PropertyChangeEvent getChangeEvent() { if(typ == BEAN_CHANGED) return changeEvent; return null; } public void setChangeEvent(PropertyChangeEvent pce) { changeEvent = pce; } /** * The bean being added/removed/changed. * @return The bean being added/removed/changed. */ public DDBean getBean() {return bean;} /** Is this an add event? * @return true if this is an add event. */ public boolean isAddEvent() {return typ == BEAN_ADDED;} /** Is this a remove event? * @return true if this is a remove event. */ public boolean isRemoveEvent() {return typ == BEAN_REMOVED;} /** Is this a change event? * @return true if this is a change event. */ public boolean isChangeEvent() {return typ == BEAN_CHANGED;} } --- NEW FILE: XpathListener.java --- /* * XpathListener.java * * Created on May 23, 2001, 2:27 PM */ package javax.enterprise.deploy.model; /** * The listener interface for receiving XpathEvents * * @author gfink * @version */ public interface XpathListener { public void fireXpathEvent(XpathEvent xpe); } |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jmx In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jmx Added Files: jmxgrinder.jar jmxri.jar jmxtools.jar Log Message: Initial Import --- NEW FILE: jmxgrinder.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jmxri.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jmxtools.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr77/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr77/src/etc Added Files: default.mf Log Message: Initial Import --- NEW FILE: default.mf --- Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Vendor: EJTools Project Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Vendor: EJTools Project |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/shared In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/main/javax/enterprise/deploy/shared Added Files: ActionType.java CommandType.java DConfigBeanVersionType.java ModuleType.java StateType.java Log Message: Initial Import --- NEW FILE: ActionType.java --- package javax.enterprise.deploy.shared; /** * Class ActionTypes defines enumeration values for the J2EE * DeploymentStatus actions. * * @author rsearls * @version */ public class ActionType { private int value; // This enumeration value's int value /** * The DeploymentManager action command is executing. */ public static final ActionType EXECUTE = new ActionType(0); /** * A cancel operation is being preformed on the DeploymentManager * action command. */ public static final ActionType CANCEL = new ActionType(1); /** * A stop operation is being preformed on the DeploymentManager * action command. */ public static final ActionType STOP = new ActionType(2); private static final String[] stringTable = { "execute", "cancel", "stop", }; private static final ActionType[] enumValueTable = { EXECUTE, CANCEL, STOP, }; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value. */ protected ActionType(int value) { this.value = value; } /** * Returns this enumeration value's integer value. * @return the value */ public int getValue() { return value; } /** * Returns the string table for class ActionType */ protected String[] getStringTable() { return stringTable; } /** * Returns the enumeration value table for class ActionType */ protected ActionType[] getEnumValueTable() { return enumValueTable; } /** * Return an object of the specified value. * @param value a designator for the object. */ public static ActionType getActionType(int value) { return enumValueTable[value]; } /** * Return the string name of this ActionType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); } /** * Returns the lowest integer value used by this enumeration value's * enumeration class. * <P> * The default implementation returns 0. * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } } --- NEW FILE: CommandType.java --- package javax.enterprise.deploy.shared; /** * Class CommandTypes defines enumeration values for the * DeploymentStatus object. * * @author rsearls * @version */ public class CommandType { private int value; // This enumeration value's int value /** * The DeploymentManger action operation being processed * is distribute. */ public static final CommandType DISTRIBUTE = new CommandType(0); /** * The DeploymentManger action operation being processed is start. */ public static final CommandType START = new CommandType(1); /** * The DeploymentManger action operation being processed is stop. */ public static final CommandType STOP = new CommandType(2); /** * The DeploymentManger action operation being processed is undeploy. */ public static final CommandType UNDEPLOY = new CommandType(3); /** * The DeploymentManger action operation being processed is redeploy. */ public static final CommandType REDEPLOY = new CommandType(4); private static final String[] stringTable = { "distribute", "start", "stop", "undeploy", "redeploy", }; private static final CommandType[] enumValueTable = { DISTRIBUTE, START, STOP, UNDEPLOY, REDEPLOY, }; /** * 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 value; } /** * Returns the string table for class CommandType */ protected String[] getStringTable() { return stringTable; } /** * Returns the enumeration value table for class CommandType */ protected CommandType[] getEnumValueTable() { return enumValueTable; } /** * Return an object of the specified value. * @param value a designator for the object. */ public static CommandType getCommandType(int value) { return enumValueTable[value]; } /** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); } /** * Returns the lowest integer value used by this enumeration value's * enumeration class. * <P> * The default implementation returns 0. * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } } --- NEW FILE: DConfigBeanVersionType.java --- package javax.enterprise.deploy.shared; /** * Class DConfigBeanVersionTypes defines enumeration values for the J2EE * Platform verion number. * * @author rsearls * @version */ public class DConfigBeanVersionType { private int value; // This enumeration value's int value /** * J2EE Platform version 1.3 */ public static final DConfigBeanVersionType V1_3 = new DConfigBeanVersionType(0); /** * J2EE Platform version 1.3.1 */ public static final DConfigBeanVersionType V1_3_1 = new DConfigBeanVersionType(1); private static final String[] stringTable = { "V1_3", "V1_3_1", }; private static final DConfigBeanVersionType[] enumValueTable = { V1_3, V1_3_1, }; /** * 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 value; } /** * Returns the string table for class DConfigBeanVersionType */ protected String[] getStringTable() { return stringTable; } /** * Returns the enumeration value table for class DConfigBeanVersionType */ protected DConfigBeanVersionType[] getEnumValueTable() { return enumValueTable; } /** * Return an object of the specified value. * @param value a designator for the object. */ public static DConfigBeanVersionType getDConfigBeanVersionType(int value) { return enumValueTable[value]; } /** * Return the string name of this DConfigBeanVersionType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); } /** * Returns the lowest integer value used by this enumeration value's * enumeration class. * <P> * The default implementation returns 0. * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } } --- NEW FILE: ModuleType.java --- package javax.enterprise.deploy.shared; /** * Class ModuleTypes defines enumeration values for the J2EE * module types. * * @author Rebecca Searls */ public class ModuleType { private int value; // This enumeration value's int value /** * The module is an EAR archive. */ public static final ModuleType EAR = new ModuleType(0); /** * The module is an Enterprise Java Bean archive. */ public static final ModuleType EJB = new ModuleType(1); /** * The module is an Client Application archive. */ public static final ModuleType CAR = new ModuleType(2); /** * The module is an Connector archive. */ public static final ModuleType RAR = new ModuleType(3); /** * The module is an Web Application archive. */ public static final ModuleType WAR = new ModuleType(4); private static final String[] stringTable = { "ear", "ejb", "car", "rar", "war", }; private static final ModuleType[] enumValueTable = { EAR, EJB, CAR, RAR, WAR, }; /* * Module extensions. */ private static final String[] moduleExtension = { ".ear", ".jar", ".jar", ".rar", ".war", }; /** * Construct a new enumeration value with the given integer value. * * @param value Integer value. */ protected ModuleType(int value) { this.value = value; } /** * Returns this enumeration value's integer value. * @return the value */ public int getValue() { return value; } /** * Returns the string table for class ModuleType */ protected String[] getStringTable() { return stringTable; } /** * Returns the enumeration value table for class ModuleType */ protected ModuleType[] getEnumValueTable() { return enumValueTable; } /** * Return the file extension string for this enumeration. */ public String getModuleExtension() { return (moduleExtension[getValue()]); } /** * Return an object of the specified value. * @param value a designator for the object. */ public static ModuleType getModuleType(int value) { return enumValueTable[value]; } /** * Return the string name of this ModuleType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); } /** * Returns the lowest integer value used by this enumeration value's * enumeration class. * <P> * The default implementation returns 0. If the enumeration class (a * subclass of class EnumSyntax) uses integer values starting at other than * 0, override this method in the subclass. * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } } --- NEW FILE: StateType.java --- package javax.enterprise.deploy.shared; /** * Class StateTypes defines enumeration values for the * DeploymentStatus object. * * @author rsearls * @version */ public class StateType { private int value; // This enumeration value's int value /** * The action operation is running normally. */ public static final StateType RUNNING = new StateType(0); /** * The action operation has completed normally. */ public static final StateType COMPLETED = new StateType(1); /** * The action operation has failed. */ public static final StateType FAILED = new StateType(2); /** * The DeploymentManager is running in discommected mode. */ public static final StateType RELEASED = new StateType(3); private static final String[] stringTable = { "running", "completed", "failed", "released", }; private static final StateType[] enumValueTable = { RUNNING, COMPLETED, FAILED, RELEASED, }; /** * 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 value; } /** * Returns the string table for class StateType */ protected String[] getStringTable() { return stringTable; } /** * Returns the enumeration value table for class StateType */ protected StateType[] getEnumValueTable() { return enumValueTable; } /** * Return an object of the specified value. * @param value a designator for the object. */ public static StateType getStateType(int value) { return enumValueTable[value]; } /** * Return the string name of this StateType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); } /** * Returns the lowest integer value used by this enumeration value's * enumeration class. * <P> * The default implementation returns 0. * @return the offset of the lowest enumeration value. */ protected int getOffset() { return 0; } } |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/swing In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/swing Added Files: jlfgr-1_0.jar Log Message: Initial Import --- NEW FILE: jlfgr-1_0.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/j2ee In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/j2ee Added Files: javax.servlet.jar jboss-j2ee.jar Log Message: Initial Import --- NEW FILE: javax.servlet.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-j2ee.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:45:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv31212/sun/jsr88/src/etc Added Files: default.mf Log Message: Initial Import --- NEW FILE: default.mf --- Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Vendor: EJTools Project Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Vendor: EJTools Project |
Update of /cvsroot/ejtools/thirdparty/jboss/client In directory usw-pr-cvs1:/tmp/cvs-serv31212/jboss/client Added Files: LICENSE VERSION auth.conf cacerts client-config.xml concurrent.jar gnu-regexp.jar jaas.jar jboss-client.jar jboss-common-client.jar jboss-j2ee.jar jboss-jsr77.jar jboss-net-client.jar jboss-system-client.jar jbossha-client.jar jbossmq-client.jar jbossmqha.jar jbosssx-client.jar jcert.jar jmx-connector-client-factory.jar jmx-ejb-connector-client.jar jmx-rmi-connector-client.jar jndi.jar jnet.jar jnp-client.jar jsse.jar log4j.jar Log Message: Initial Import --- NEW FILE: LICENSE --- (This appears to be a binary file; contents omitted.) --- NEW FILE: VERSION --- 3.0.0RC1 --- NEW FILE: auth.conf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cacerts --- (This appears to be a binary file; contents omitted.) --- NEW FILE: client-config.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: concurrent.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gnu-regexp.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jaas.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-common-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-j2ee.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-jsr77.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-net-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-system-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jbossha-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jbossmq-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jbossmqha.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jbosssx-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jcert.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jmx-connector-client-factory.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jmx-ejb-connector-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jmx-rmi-connector-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jndi.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jnet.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jnp-client.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jsse.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: log4j.jar --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-18 20:36:34
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/status In directory usw-pr-cvs1:/tmp/cvs-serv30361/status Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/status added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:36:13
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/factories In directory usw-pr-cvs1:/tmp/cvs-serv30223/factories Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/factories added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:35:50
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/exceptions In directory usw-pr-cvs1:/tmp/cvs-serv30150/exceptions Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi/exceptions added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:35:32
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi In directory usw-pr-cvs1:/tmp/cvs-serv30026/spi Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/spi added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:35:20
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/shared In directory usw-pr-cvs1:/tmp/cvs-serv29943/shared Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/shared added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:35:06
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/model In directory usw-pr-cvs1:/tmp/cvs-serv29863/model Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy/model added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:34:57
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy In directory usw-pr-cvs1:/tmp/cvs-serv29726/deploy Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise/deploy added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:34:40
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise In directory usw-pr-cvs1:/tmp/cvs-serv29658/enterprise Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax/enterprise added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:34:27
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax In directory usw-pr-cvs1:/tmp/cvs-serv29570/javax Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr88/src/main/javax added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:34:09
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee/statistics In directory usw-pr-cvs1:/tmp/cvs-serv29452/statistics Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee/statistics added to the repository |
From: Laurent E. <let...@us...> - 2002-04-18 20:33:52
|
Update of /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee In directory usw-pr-cvs1:/tmp/cvs-serv29302/j2ee Log Message: Directory /cvsroot/ejtools/thirdparty/sun/jsr77/src/main/javax/management/j2ee added to the repository |