congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ByteCodeAnnotationFilter
Code IndexAdd Tabnine to your IDE (free)

How to use
ByteCodeAnnotationFilter
in
com.ocpsoft.pretty.faces.config.annotation

Best Java code snippets using com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter (Showing top 6 results out of 315)

origin: ocpsoft/prettyfaces

/**
* Initialization procedure
* 
* @param servletContext
*           The {@link ServletContext} of the web application.
* @param classLoader
*           The {@link ClassLoader} to use for loading classes
* @param packageFilter
*           The {@link PackageFilter} used to check if a package has to be
*           scanned.
*/
public AbstractClassFinder(ServletContext servletContext, ClassLoader classLoader, PackageFilter packageFilter)
{
 this.servletContext = servletContext;
 this.classLoader = classLoader;
 this.packageFilter = packageFilter;
 this.byteCodeAnnotationFilter = new ByteCodeAnnotationFilter();
}
origin: ocpsoft/prettyfaces

boolean shouldScanClass = byteCodeAnnotationFilter.accept(classFileStream);
origin: com.ocpsoft/prettyfaces-jsf2

boolean shouldScanClass = byteCodeAnnotationFilter.accept(classFileStream);
origin: com.ocpsoft/prettyfaces-jsf2

/**
* Initialization procedure
* 
* @param servletContext
*           The {@link ServletContext} of the web application.
* @param classLoader
*           The {@link ClassLoader} to use for loading classes
* @param packageFilter
*           The {@link PackageFilter} used to check if a package has to be
*           scanned.
*/
public AbstractClassFinder(ServletContext servletContext, ClassLoader classLoader, PackageFilter packageFilter)
{
 this.servletContext = servletContext;
 this.classLoader = classLoader;
 this.packageFilter = packageFilter;
 this.byteCodeAnnotationFilter = new ByteCodeAnnotationFilter();
}
origin: ocpsoft/prettyfaces

boolean shouldScanClass = byteCodeAnnotationFilter.accept(classFileStream);
origin: ocpsoft/prettyfaces

/**
* Initialization procedure
* 
* @param servletContext
*           The {@link ServletContext} of the web application.
* @param classLoader
*           The {@link ClassLoader} to use for loading classes
* @param packageFilter
*           The {@link PackageFilter} used to check if a package has to be
*           scanned.
*/
public AbstractClassFinder(ServletContext servletContext, ClassLoader classLoader, PackageFilter packageFilter)
{
 this.servletContext = servletContext;
 this.classLoader = classLoader;
 this.packageFilter = packageFilter;
 this.byteCodeAnnotationFilter = new ByteCodeAnnotationFilter();
}
com.ocpsoft.pretty.faces.config.annotationByteCodeAnnotationFilter

Javadoc

This class reads Java class files and checks whether they contain references to PrettyFaces annotations. This allows to check classes for the presence of annotations before instantiating them.

The filter is inspired by the ClassByteCodeAnnotationFilter of Apache MyFaces 2.0. Many thanks go out to Leonardo Uribe for his great work on this class.

Most used methods

  • <init>
  • accept
    Checks whether that supplied InputStream contains a Java class file that might contain PrettyFaces

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Github Copilot alternatives
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