[jboss-cvs] JBossAS SVN: r79506 - projects/naming/trunk/jnpserver/src/main/java/org/jnp/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 15 01:05:29 EDT 2008


Author: scott.stark at jboss.org
Date: 2008-10-15 01:05:28 -0400 (Wed, 15 Oct 2008)
New Revision: 79506

Modified:
   projects/naming/trunk/jnpserver/src/main/java/org/jnp/server/MainMBean.java
Log:
JBNAME-17, add getCallByValue/setCallByValue 

Modified: projects/naming/trunk/jnpserver/src/main/java/org/jnp/server/MainMBean.java
===================================================================
--- projects/naming/trunk/jnpserver/src/main/java/org/jnp/server/MainMBean.java	2008-10-15 04:40:11 UTC (rev 79505)
+++ projects/naming/trunk/jnpserver/src/main/java/org/jnp/server/MainMBean.java	2008-10-15 05:05:28 UTC (rev 79506)
@@ -53,6 +53,16 @@
    void setBacklog(int backlog);   
    int getBacklog();
 
+   /**
+    * Get the call by value flag for jndi lookups.
+    * @return true if all lookups are unmarshalled using the caller's TCL, false if in VM lookups return the value by reference.    */
+   boolean getCallByValue() ;
+
+   /**
+    * Set the call by value flag for jndi lookups.
+    * @param flag - true if all lookups are unmarshalled using the caller's TCL, false if in VM lookups return the value by reference.    */
+   void setCallByValue(boolean flag) ;
+
    /** Whether the MainMBean's Naming server will be installed as the NamingContext.setLocal global value */
    void setInstallGlobalService(boolean flag);
    boolean getInstallGlobalService();




More information about the jboss-cvs-commits mailing list