admin@glassfish.java.net

Supporting object-type for lifecycle modules

From: Binod <Binod.Pg_at_Sun.COM>
Date: Wed, 11 Oct 2006 20:06:36 +0530

Unlike other applications and resources, object-type is not supported for
lifecycle modules. Since the addons and products that run on top of
appserver
might need to insert lifecycle modules in domain.xml and they need to be
enabled/referenced in all instances and clusters, we need to support
object-type
for lifecycle module.

Please review the diff below.

diff -u -r1.1 sun-domain_1_3.dtd
--- sun-domain_1_3.dtd 3 Sep 2006 05:25:00 -0000 1.1
+++ sun-domain_1_3.dtd 11 Oct 2006 14:35:53 -0000
@@ -77,7 +77,7 @@
     custom-resource, ejb-module, external-jndi-resource,
     j2ee-application, jdbc-resource, mail-resource, mbean,
     persistence-manager-factory-resource, resource-adapter-config,
- web-module
+ web-module, lifecycle-module
 -->
 <!ENTITY % object-type "(system-all | system-admin | system-instance |
user)">

@@ -303,6 +303,7 @@
     classpath CDATA #IMPLIED
     load-order CDATA #IMPLIED
     is-failure-fatal %boolean; "false"
+ object-type %object-type; "user"
     enabled %boolean; "true">