Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 611 Bytes

package-types.md

File metadata and controls

22 lines (14 loc) · 611 Bytes

Package types

This application comes with two package level annotations:

  • SharedKernel used to mark packages containing classes shared between multiple contexts;
  • BusinessContext used to mark packages containing classes to answer a specific business need. Classes in this package can't be used in another package.

To mark a package, you have to add a package-info.java file at the package root with:

@tech.jhipster.lite.extension.SharedKernel
package tech.jhipster.lite.extension;

or:

@tech.jhipster.lite.extension.BusinessContext
package tech.jhipster.lite.extension;