[jboss-cvs] JBossAS SVN: r57124 - in branches/JBoss_4_0_3_SP1_JBAS-3689/server/src: etc/conf/default/xmdesc main/org/jboss/naming
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Sep 25 00:01:05 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-09-25 00:01:03 -0400 (Mon, 25 Sep 2006)
New Revision: 57124
Modified:
branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/etc/conf/default/xmdesc/NamingService-xmbean.xml
branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/main/org/jboss/naming/NamingService.java
Log:
JBAS3689, Add a UseGlobalService which defines whether the MainMBean's Naming server will initialized from the existing NamingContext.setLocal global value
Modified: branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/etc/conf/default/xmdesc/NamingService-xmbean.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/etc/conf/default/xmdesc/NamingService-xmbean.xml 2006-09-25 04:00:59 UTC (rev 57123)
+++ branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/etc/conf/default/xmdesc/NamingService-xmbean.xml 2006-09-25 04:01:03 UTC (rev 57124)
@@ -94,9 +94,20 @@
<attribute access="read-write" getMethod="getInstallGlobalService"
setMethod="setInstallGlobalService">
+ <description>Ghe InstallGlobalService which defines whether the MainMBean's
+ Naming server will be installed as the NamingContext.setLocal global
+ value.</description>
<name>InstallGlobalService</name>
<type>boolean</type>
</attribute>
+ <attribute access="read-write" getMethod="getUseGlobalService"
+ setMethod="setUseGlobalService">
+ <description>The UseGlobalService which defines whether the MainMBean's
+ Naming server will initialized from the existing NamingContext.setLocal global
+ value.</description>
+ <name>UseGlobalService</name>
+ <type>boolean</type>
+ </attribute>
<attribute access="write-only" setMethod="setLookupPool">
<description>The thread pool service used to control the bootstrap lookups</description>
<name>LookupPool</name>
Modified: branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/main/org/jboss/naming/NamingService.java
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/main/org/jboss/naming/NamingService.java 2006-09-25 04:00:59 UTC (rev 57123)
+++ branches/JBoss_4_0_3_SP1_JBAS-3689/server/src/main/org/jboss/naming/NamingService.java 2006-09-25 04:01:03 UTC (rev 57124)
@@ -152,6 +152,14 @@
{
naming.setInstallGlobalService(flag);
}
+ public boolean getUseGlobalService()
+ {
+ return naming.getInstallGlobalService();
+ }
+ public void setUseGlobalService(boolean flag)
+ {
+ naming.setInstallGlobalService(flag);
+ }
public String getClientSocketFactory()
{
More information about the jboss-cvs-commits
mailing list