protected void destroyService() { // Export references to the bean Registry.unbind(serviceName); }
protected void destroyService() { // Export references to the bean Registry.unbind(serviceName); }
protected void destroyService() { Registry.unbind(serviceName); }
protected void stopService() { // Unxport the Invoker interface ObjectName name = super.getServiceName(); Registry.unbind(name); log.debug("Unbound HttpHA invoker for JMX node"); }
protected void stopService() { try { Context ctx = new InitialContext(); ctx.unbind(JNDI_NAME); } catch (Exception e) { log.warn("Failed to unbind "+JNDI_NAME, e); } // Remove our ObjectName hash from Registry if the proxy factory had not Registry.unbind(new Integer(serviceName.hashCode())); }
public void stopService () { log.debug ("Stoping Invalidation Manager " + this.getServiceName ().toString ()); org.jboss.system.Registry.unbind (this.getServiceName ().toString ()); }
protected void stopService() throws Exception { // Remove the method hashses if( exportedInterfaces != null ) { for(int n = 0; n < exportedInterfaces.length; n ++) MarshalledInvocation.removeHashes(exportedInterfaces[n]); } marshalledInvocationMapping = null; remoteListeners.clear(); Registry.unbind(new Integer(serviceName.hashCode())); }
/** * Destroy the proxy */ protected void destroyProxy() throws Exception { ObjectName name = getServiceName(); Integer nameHash = new Integer(name.hashCode()); Registry.unbind(nameHash); }
protected void stopService() throws Exception { Integer nameHash = new Integer(getServiceName().hashCode()); Registry.unbind(nameHash); if( jndiName != null ) { InitialContext iniCtx = new InitialContext(); Util.unbind(iniCtx, jndiName); } this.theProxy = null; }
Registry.unbind(new Integer(jmxHash));