/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); logPrefix = null; }
/** {@inheritDoc} */ protected void doDestroy() { delegate = null; super.doDestroy(); }
/** {@inheritDoc} */ @Override public void setId(@Nonnull final String componentId) { super.setId(componentId); }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (resolvers == null) { log.warn("CompositeMetadataResolver was not configured with any member MetadataResolvers"); resolvers = Collections.emptyList(); } }
/** {@inheritDoc} */ protected void doDestroy() { rpcResolver = null; super.doDestroy(); }
/** {@inheritDoc} */ @Override public void setId(@Nonnull final String componentId) { super.setId(componentId); }
/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (rpcResolver == null) { throw new ComponentInitializationException("CriteriaRelyingPartyConfigurationResolver was null"); } }
/** {@inheritDoc} */ @Override protected void doDestroy() { super.doDestroy(); resolvers = Collections.emptyList(); }
/** Constructor. */ public AbstractEndpointResolver() { super.setId(getClass().getName()); }
/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (delegate == null) { throw new ComponentInitializationException("RelyingPartyConfigurationResolver delegate was null"); } }
/** * {@inheritDoc}. Force unload; this will usually be a no-op since the component should have been explicitly * unloaded, but we do the unload here so that error cases also clean up. */ @Override protected void doDestroy() { unloadComponent(); super.doDestroy(); }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (applicationContext != null && !(applicationContext instanceof ConfigurableApplicationContext)) { throw new ComponentInitializationException(getId() + ": Application context did not implement ConfigurableApplicationContext"); } }
/** * Subclasses should override this method to perform any initialization logic necessary. Default implementation is a * no-op. * * @throws ComponentInitializationException thrown if there is a problem initializing the provider */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (getCriterionPredicateRegistry() == null && isUseDefaultPredicateRegistry()) { setCriterionPredicateRegistry(new RoleDescriptorCriterionPredicateRegistry()); } }