[jboss-cvs] JBossAS SVN: r58348 - trunk/naming/src/main/org/jnp/interfaces
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 14 12:42:10 EST 2006
Author: scott.stark at jboss.org
Date: 2006-11-14 12:42:09 -0500 (Tue, 14 Nov 2006)
New Revision: 58348
Modified:
trunk/naming/src/main/org/jnp/interfaces/NamingContext.java
Log:
Stub out the EventContext methods to start looking into supporting jndi events
Modified: trunk/naming/src/main/org/jnp/interfaces/NamingContext.java
===================================================================
--- trunk/naming/src/main/org/jnp/interfaces/NamingContext.java 2006-11-14 17:36:50 UTC (rev 58347)
+++ trunk/naming/src/main/org/jnp/interfaces/NamingContext.java 2006-11-14 17:42:09 UTC (rev 58348)
@@ -60,6 +60,8 @@
import javax.naming.Reference;
import javax.naming.Referenceable;
import javax.naming.ServiceUnavailableException;
+import javax.naming.event.EventContext;
+import javax.naming.event.NamingListener;
import javax.naming.spi.NamingManager;
import javax.naming.spi.ResolveResult;
import javax.net.SocketFactory;
@@ -79,7 +81,7 @@
* @version $Revision$
*/
public class NamingContext
- implements Context, java.io.Serializable
+ implements EventContext, java.io.Serializable
{
// Constants -----------------------------------------------------
/**
@@ -1053,6 +1055,36 @@
return link;
}
+ // Begin EventContext methods
+ public void addNamingListener(Name target, int scope, NamingListener l)
+ throws NamingException
+ {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException("This is not supported currently");
+ }
+
+ public void addNamingListener(String target, int scope, NamingListener l)
+ throws NamingException
+ {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException("This is not supported currently");
+ }
+
+ public void removeNamingListener(NamingListener l)
+ throws NamingException
+ {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException("This is not supported currently");
+ }
+
+ public boolean targetMustExist()
+ throws NamingException
+ {
+ // TODO Auto-generated method stub
+ return false;
+ }
+ // End EventContext methods
+
protected Object resolveLink(Object res, Hashtable refEnv)
throws NamingException
{
More information about the jboss-cvs-commits
mailing list