Class InAppIncludesResolver

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class InAppIncludesResolver
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware
    Resolves SentryProperties inAppIncludes by getting a package name from a class annotated with SpringBootConfiguration or another annotation meta-annotated with SpringBootConfiguration like SpringBootApplication.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.util.List<java.lang.String> resolveInAppIncludes()  
      void setApplicationContext​(@NotNull org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InAppIncludesResolver

        public InAppIncludesResolver()
    • Method Detail

      • resolveInAppIncludes

        @NotNull
        public @NotNull java.util.List<java.lang.String> resolveInAppIncludes()
      • setApplicationContext

        public void setApplicationContext​(@NotNull
                                          @NotNull org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException