public void shutdown() { ntRegistry.removeListener(this); monitorSession.logout(); } }
/** * Destroys this context and releases resources. */ public void destroy() { repositoryContext.getNodeTypeRegistry().removeListener(propRegistry); }
/** * Disposes this node type manager. */ public void dispose() { context.getNodeTypeRegistry().removeListener(this); }
/** * Disposes this node type manager. */ public void dispose() { context.getNodeTypeRegistry().removeListener(this); }
/** * Destroys this context and releases resources. */ public void destroy() { repositoryContext.getNodeTypeRegistry().removeListener(propRegistry); }
@Override public void nodeTypeRegistered(Name ntName) { if (unRegisteredNodeTypes.contains(ntName)) { unRegisteredNodeTypes.remove(ntName); } if (unRegisteredNodeTypes.isEmpty()) { context.getNodeTypeRegistry().removeListener(this); try { indexingConfiguration.init(config, context, namespaceMappings); } catch (Exception e) { log.warn("Exception initializing indexing configuration from: " + getIndexingConfiguration(), e); } } }