Methods Summary |
---|
public synchronized void | bind(javax.naming.Name name, java.lang.Object obj, java.lang.String className)
delegate.bind (name, obj, className);
|
public javax.naming.Context | createSubcontext(javax.naming.Name name)
return delegate.createSubcontext(name);
|
public void | destroy()
delegate.destroy();
partition.unsubscribeFromStateTransferEvents("HAJNDI", this);
|
public java.io.Serializable | getCurrentState()
if( log.isTraceEnabled() )
log.trace("getCurrentState called");
return delegate;
|
public org.jnp.interfaces.Naming | getHAStub()
return this.haStub;
|
public void | init()
log.debug("subscribeToStateTransferEvents");
partition.subscribeToStateTransferEvents("HAJNDI", this);
delegate.init();
|
public java.util.Collection | list(javax.naming.Name name)
return delegate.list(name) ;
|
public java.util.Collection | listBindings(javax.naming.Name name)
return delegate.listBindings(name);
|
public java.lang.Object | lookup(javax.naming.Name name)
return delegate.lookup (name);
|
public synchronized void | rebind(javax.naming.Name name, java.lang.Object obj, java.lang.String className)
delegate.rebind (name, obj, className);
|
public void | setCurrentState(java.io.Serializable newState)
if( log.isTraceEnabled() )
log.trace("setCurrentState called");
try
{
delegate.stop();
delegate = (TreeHead)newState;
delegate.setPartition(this.partition);
delegate.setHARMIHead (this);
delegate.init();
}
catch (Exception failed)
{
log.warn("Problem restoring state to HA-JNDI", failed);
}
|
public void | setHAStub(org.jnp.interfaces.Naming stub)
this.haStub = stub;
|
public void | stop()
delegate.stop();
|
public synchronized void | unbind(javax.naming.Name name)
delegate.unbind (name);
|