Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 54828 invoked from network); 1 Sep 2003 00:28:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Sep 2003 00:28:40 -0000 Received: (qmail 53140 invoked by uid 500); 1 Sep 2003 00:28:11 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 53001 invoked by uid 500); 1 Sep 2003 00:28:10 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 52981 invoked from network); 1 Sep 2003 00:28:10 -0000 Received: from unknown (HELO hogshead.codehaus.org) (66.216.68.111) by daedalus.apache.org with SMTP; 1 Sep 2003 00:28:10 -0000 Received: from hogshead.codehaus.org (hogshead.codehaus.org [66.216.68.111]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id h810eA102647 for ; Sun, 31 Aug 2003 19:40:10 -0500 Message-ID: <14807734.1062376810388.JavaMail.orion@hogshead.codehaus.org> Date: Sun, 31 Aug 2003 19:40:10 -0500 (CDT) From: jira@codehaus.org To: geronimo-dev@incubator.apache.org Subject: [jira] Updated: (GERONIMO-14) J2EEDomain, J2EEServer and JVM implementations Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: Gianny DAMOUR (mailto:gianny_damour@hotmail.com) Date: Sun, 31 Aug 2003 7:39 PM Comment: Priority has been heightened. A partial commit should at least be applied: - AbstractComponent should extend AbstractManagedObject. - AbstractContainer should be updated: the call to DependencyService.addStartDependency is incorrect. Changes: priority changed from Minor --------------------------------------------------------------------- For a full history of the issue, see: http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-14&page=history --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-14 Here is an overview of the issue: --------------------------------------------------------------------- Key: GERONIMO-14 Summary: J2EEDomain, J2EEServer and JVM implementations Type: Improvement Status: Unassigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: Apache Geronimo Components: management Assignee: Reporter: Gianny DAMOUR Created: Sun, 24 Aug 2003 12:03 AM Updated: Sun, 31 Aug 2003 7:39 PM Description: Implementation of the J2EEDomain, J2EEServer and JVM interfaces defined by JSR77. In order to implement this patch, I have updated some core components: - AbstractComponent: this class extends now AbstractManagedObject and no more AbstractStateManageable. - AbstractContainer: the addComponent has been updated. The parameters provided to the DependencyService.addStartDependency were not in the right order. More accurately, the components contained by a container were not started when one invoked startRecursive on the container. - AbstractManagedObject: the class extends now Geronimo specific definitions of the ManagedObject and StateManageable interfaces. These interfaces are GeronimoManagedObject and GeronimoStateManageable. They have been defined because it avoids to spoil the JSR77 interfaces with methods specific to our implementation. Moreover, the postRegiter has been implemented and declared as "final". A hook, postRegisterHook, has been defined to provide to classes the ability to perform post registration tasks. The postRegister method implements a mechanism used to create JMX relations abstracting the relation of the JSR77 model. For instance, J2EEDomain is related to one or more J2EEServer. When a J2EEDomain is registered, postRegister retrieves, via getChildRelationTypes, the types of the related managed objects, in this specific case the J2EEServer type. A relation type having the name "J2EEDomain - J2EEServer" is then created. A relation of this type and having the name "[j2ee domain name]J2EEDomain - J2EEServer" is then added to the relation service. When a J2EEServer related to the previous J2EEDomain is registered, it is added to the "[j2ee domain name]J2EEDomain - J2EEServer" relation. This relation is used to "implement" the method J2EEDomain.getServer. I plan to use the same mechanism for all the managed objects covered by JSR77. Cheers, Gianny --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira