/** 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. */ public void setCallByValue(boolean flag) { boolean callByValue = ! flag; MarshalledValuePair.setEnableCallByReference(callByValue); }
public void destroy() { NamingContext.setLocal(null); } }
public MarshalledValuePair run() throws Exception { return new MarshalledValuePair(obj); } }
/** Get the call by value flag for jndi lookups. * * @jmx:managed-attribute * @return true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public boolean getCallByValue() { return MarshalledValuePair.getEnableCallByReference() == false; } /** Set the call by value flag for jndi lookups.
public Object lookup(Name name) throws NamingException, RemoteException { return delegate.lookup(name); } public void rebind(Name name, Object obj, String className)
public Collection listBindings(Name name) throws NamingException, RemoteException { return delegate.listBindings(name); } public Object lookup(Name name)
public void rebind(Name name, Object obj, String className) throws NamingException, RemoteException { delegate.rebind(name, obj, className); } public void unbind(Name name)
public void unbind(Name name) throws NamingException, RemoteException { delegate.unbind(name); }
public Context createSubcontext(Name name) throws NamingException, RemoteException { return delegate.createSubcontext(name); } public Collection list(Name name)
public Collection list(Name name) throws NamingException, RemoteException { return delegate.list(name); } public Collection listBindings(Name name)
public boolean targetMustExist() throws NamingException, RemoteException { return edelegate.targetMustExist(); } }
public String getProperty(String name, String defaultValue) { String ret = getProperty(name); if (ret == null) { ret = defaultValue; } return ret; }
public Socket createSocket(InetAddress hostAddr, int port) throws IOException { return this.createSocket(hostAddr, port, null, 0); }
public void bind(Name name, Object obj, String className) throws NamingException, RemoteException { delegate.bind(name, obj, className); } public Context createSubcontext(Name name)
public void addNamingListener(EventContext context, Name target, int scope, NamingListener l) throws NamingException, RemoteException { edelegate.addNamingListener(context, target, scope, l); } public void removeNamingListener(NamingListener l) throws NamingException,
/** Set the call by value flag for jndi lookups. * * @jmx:managed-attribute * @param flag - true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public void setCallByValue(boolean flag) { boolean callByValue = ! flag; MarshalledValuePair.setEnableCallByReference(callByValue); }
public SingletonNamingServer() throws NamingException { NamingContext.setLocal(this); }
/** 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. */ public boolean getCallByValue() { return MarshalledValuePair.getEnableCallByReference() == false; } /** Set the call by value flag for jndi lookups.