static void |
DeploymentsResolver.loadFromClasspath(FileUtils base,
java.util.List<java.lang.String> jarList,
java.lang.ClassLoader classLoader)
The algorithm of OpenEJB deployments class-path inclusion and exclusion is implemented as follows:
1- If the string value of the resource URL matches the include class-path pattern
Then load this resource
2- If the string value of the resource URL matches the exclude class-path pattern
Then ignore this resource
3- If the include and exclude class-path patterns are not defined
Then load this resource
The previous steps are based on the following points:
1- Include class-path pattern has the highst priority
This helps in case both patterns are defined using the same values. |