return result;
}
private final boolean isReferencedByParent(final ConfigContextEvent cce) throws ConfigException {
final ProviderConfig pc = getProviderConfig(cce);
final MessageSecurityConfig msc = (MessageSecurityConfig) pc.parent().parent();
return msc.getDefaultProvider() != null && msc.getDefaultProvider().equals(pc.getProviderId());
}
private ProviderConfig getProviderConfig(final ConfigContextEvent cce) throws ConfigException {
return (ProviderConfig) cce.getValidationTarget();