Tabnine Logo
DeprecationSupport.warnOnce
Code IndexAdd Tabnine to your IDE (free)

How to use
warnOnce
method
in
net.shibboleth.utilities.java.support.primitive.DeprecationSupport

Best Java code snippets using net.shibboleth.utilities.java.support.primitive.DeprecationSupport.warnOnce (Showing top 20 results out of 315)

origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Nullable public BaseContext getParent() {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.getParent();
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Nullable public <T extends BaseContext> T getSubcontext(@Nonnull final Class<T> clazz) {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.getSubcontext(clazz);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Nullable public <T extends BaseContext> T getSubcontext(@Nonnull final Class<T> clazz,
    final boolean autocreate) {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.getSubcontext(clazz, autocreate);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

/** {@inheritDoc} */
@Override @Nonnull public Iterator<BaseContext> iterator() {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.iterator();
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

/**
 * see {@link AttributeResolverWorkContext#recordDataConnectorResolution(DataConnector,Map)}.
 * 
 * @param connector as the delegate does
 * @param attributes as the delegate does
 * @throws ResolutionException as the delegate does
 */
public void recordDataConnectorResolution(@Nonnull final DataConnector connector,
    @Nullable final Map<String, IdPAttribute> attributes) throws ResolutionException {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  log.error("'{}' Use of workContext.recordDataConnectorResolution() is deprecated and will cause instability",
      logPrefix);
  delegate.recordDataConnectorResolution(connector, attributes);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override public void removeSubcontext(@Nonnull final BaseContext subcontext) {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  delegate.removeSubcontext(subcontext);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override public <T extends BaseContext> boolean containsSubcontext(@Nonnull final Class<T> clazz) {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.containsSubcontext(clazz);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Deprecated public boolean isAutoCreateSubcontexts() {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.isAutoCreateSubcontexts();
}
origin: net.shibboleth.idp/idp-profile-spring

/** {@inheritDoc} */
@Override
protected void doParse(final Element element, final BeanDefinitionBuilder builder) {
  
  if (!isDescendantOfSignatureFilter(element)){
    DeprecationSupport.warnOnce(ObjectType.ELEMENT, 
        element.getPrefix() +":" + element.getLocalName(), null, null);
  }
  super.doParse(element, builder);
}

origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Nullable public BaseContext getSubcontext(@Nonnull @NotEmpty final String className)
    throws ClassNotFoundException {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.getSubcontext(className);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

@Override @Nullable public BaseContext getSubcontext(@Nonnull @NotEmpty final String className,
    final boolean autocreate) throws ClassNotFoundException {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  return delegate.getSubcontext(className, autocreate);
}
origin: net.shibboleth.idp/idp-attribute-filter-spring

/** {@inheritDoc} */
@Override protected void doParse(@Nonnull final Element element, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  final QName suppliedQname = DOMTypeSupport.getXSIType(element);
  if (AttributeFilterSAMLNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())
      || AttributeFilterBasicNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())) {
    DeprecationSupport.warnOnce(ObjectType.XSITYPE, suppliedQname.toString(),
        parserContext.getReaderContext().getResource().getDescription(), getAFPName().toString());
  }
  super.doParse(element, parserContext, builder);
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

/**
 * see {@link AttributeResolverWorkContext#getResolvedIdPAttributeDefinitions()}.
 * 
 * @return what the delegate does.
 */
@Nonnull @NonnullElements @Unmodifiable public Map<String, ResolvedAttributeDefinition>
    getResolvedIdPAttributeDefinitions() {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  log.error("'{}' Use of workContext.getResolvedIdPAttributeDefinitions()"
      + " is deprecated and will cause instability", logPrefix);
  return delegate.getResolvedIdPAttributeDefinitions();
}
origin: net.shibboleth.idp/idp-attribute-resolver-spring

@Override protected void doParse(@Nonnull final Element config, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  DeprecationSupport.warnOnce(ObjectType.ELEMENT, "PrincipalAuthenticationMethod",
      parserContext.getReaderContext().getResource().getDescription(), null);
  super.doParse(config, parserContext, builder);
}
origin: net.shibboleth.idp/idp-attribute-resolver-spring

/** {@inheritDoc} */
@Override protected void doParse(@Nonnull final Element config, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  super.doParse(config, parserContext, builder);
  
  final QName suppliedQname = DOMTypeSupport.getXSIType(config);
  if (!AttributeResolverNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())) {
    DeprecationSupport.warnOnce(ObjectType.XSITYPE, suppliedQname.toString(),
        parserContext.getReaderContext().getResource().getDescription(), getPreferredName().toString());
  } 
}
origin: net.shibboleth.idp/idp-attribute-resolver-spring

/** {@inheritDoc} */
@Override protected void doParse(@Nonnull final Element config, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  super.doParse(config, parserContext, builder);
  
  final QName suppliedQname = DOMTypeSupport.getXSIType(config);
  if (!AttributeResolverNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())) {
    DeprecationSupport.warnOnce(ObjectType.XSITYPE, suppliedQname.toString(),
        parserContext.getReaderContext().getResource().getDescription(), getPreferredName().toString());
  } 
}
origin: net.shibboleth.idp/idp-attribute-resolver-impl

/**
 * see {@link AttributeResolverWorkContext#getResolvedDataConnectors()}.
 * 
 * @return what the delegate does.
 */
@Nonnull @NonnullElements @Unmodifiable public Map<String, ResolvedDataConnector> getResolvedDataConnectors() {
  DeprecationSupport.warnOnce(ObjectType.CLASS, AttributeResolverWorkContext.class.getName(), null, null);
  log.error("'{}' Use of workContext.getResolvedDataConnectors() is deprecated and will cause instability",
      logPrefix);
  return delegate.getResolvedDataConnectors();
}
origin: net.shibboleth.idp/idp-attribute-resolver-spring

/** {@inheritDoc} */
@Override protected void doParse(@Nonnull final Element config, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  super.doParse(config, parserContext, builder);
  
  final QName suppliedQname = DOMTypeSupport.getXSIType(config);
  if (!AttributeResolverNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())) {
    DeprecationSupport.warnOnce(ObjectType.XSITYPE, suppliedQname.toString(),
        parserContext.getReaderContext().getResource().getDescription(), getPreferredName().toString());
  } 
}
origin: net.shibboleth.idp/idp-attribute-resolver-spring

/** {@inheritDoc} */
@Override protected void doParse(@Nonnull final Element config, @Nonnull final ParserContext parserContext,
    @Nonnull final BeanDefinitionBuilder builder) {
  super.doParse(config, parserContext, builder);
  
  final QName suppliedQname = DOMTypeSupport.getXSIType(config);
  if (!AttributeResolverNamespaceHandler.NAMESPACE.equals(suppliedQname.getNamespaceURI())) {
    DeprecationSupport.warnOnce(ObjectType.XSITYPE, suppliedQname.toString(),
        parserContext.getReaderContext().getResource().getDescription(), getPreferredName().toString());
  } 
}
origin: net.shibboleth.idp/idp-profile-spring

  /** {@inheritDoc} */
  @Override
  protected void doParse(final Element element, final ParserContext parserContext, 
      final BeanDefinitionBuilder builder) {
    if (!isDescendantOfSignatureFilter(element)){
      DeprecationSupport.warnOnce(ObjectType.ELEMENT, element.getPrefix() +":" + element.getLocalName(), 
        parserContext.getReaderContext().getResource().getDescription(), null);
    }
    super.doParse(element, parserContext, builder);
  }
}
net.shibboleth.utilities.java.support.primitiveDeprecationSupportwarnOnce

Popular methods of DeprecationSupport

  • warn

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now