摘要 |
A model for extending application server functionality includes two types of libraries: an automatically-referenced (auto-ref) library and a superseding library. The auto-ref library includes a special tag that identifies it as the auto-ref library and a pattern that restricts the application types that can refer to it. Once the auto-ref library is deployed, it is automatically referred to by all applications as long as they are not excluded by the restricting pattern. The code contained in the auto-ref library is merged into the application code and the configuration of the library is merged into the application configuration at deployment time. The superseding library also includes an identifying tag and a restriction pattern. At deployment, however, the code and configuration data in the superseding library overrides the corresponding application configuration and code. The remaining code of the application that is not overridden by the superseding library is used without any modification. |