Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-69

Allow for OSGi style Class Filtering

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 1.0.0.CR1
    • 1.0.0.Beta13
    • Core, Filters
    • None

      3.6.7 Class Filtering

      An exporter can limit the visibility of the classes in a package with the
      include and exclude directives on the export definition. The value of each of
      these directives is a comma-separated list of class names.

      The following example shows an export statement, and a list of files with
      their visibility status.

      Export-Package: com.acme.foo; include:="Qux*,BarImpl";exclude:=QuxImpl

              dlloyd@redhat.com David Lloyd
              tdiesler@redhat.com Thomas Diesler
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: