public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
public void clear() { Iterator<BeanIdentifier> it = iterator(); while (it.hasNext()) { BeanIdentifier id = it.next(); if (isAttached()) { String prefixedId = namingScheme.prefix(id); removeAttribute(prefixedId); } it.remove(); ContextLogger.LOG.contextualInstanceRemoved(id, this); } ContextLogger.LOG.contextCleared(this); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }
/** * Destroys the context */ protected void destroy() { ContextLogger.LOG.contextCleared(this); final BeanStore beanStore = getBeanStore(); if (beanStore == null) { throw ContextLogger.LOG.noBeanStoreAvailable(this); } for (BeanIdentifier id : beanStore) { destroyContextualInstance(beanStore.get(id)); } beanStore.clear(); }