public class LocalSerialContextProviderImpl extends SerialContextProviderImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_PROVIDER_NULL |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(String name,
Object obj)
overriding the super.bind() since we need to make a copy of the object
before it gets put into the rootContext
Remote Provider already does that since when a method is called
on a remote object (in our case the remote provider),
the copies of the method arguments get passed and not the real objects.
|
Object |
lookup(String name)
Lookup the specified name.
|
void |
rebind(String name,
Object obj)
overriding the super.rebind() since we need to make a copy of the object
before it gets put into the rootContext.
|
createSubcontext, destroySubcontext, list, list, rename, unbindpublic static final String LOCAL_PROVIDER_NULL
public void bind(String name, Object obj) throws NamingException, RemoteException
bind in interface SerialContextProviderbind in class SerialContextProviderImplNamingException - if there is a naming exception.RemoteExceptionpublic void rebind(String name, Object obj) throws NamingException, RemoteException
rebind in interface SerialContextProviderrebind in class SerialContextProviderImplNamingException - if there is a naming exception.RemoteExceptionpublic Object lookup(String name) throws NamingException, RemoteException
SerialContextProviderImpllookup in interface SerialContextProviderlookup in class SerialContextProviderImplNamingException - if there is a naming exception.RemoteExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.