Package com.iizix.prop
Interface IAppOwner
- All Known Implementing Classes:
AppFactory
public interface IAppOwner
Interface implemented by the application owner to perform various session or application specific functions, such as to get the class loader, etc.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptiongetAppID()
Gets the application ID.Gets the common class loader for the application used to load the user classes for the application.getFileOrResource
(String target) Gets the URL or File resource to a target reference.
Method Details
getAppID
String getAppID()Gets the application ID.getCommonClassLoader
ClassLoader getCommonClassLoader()Gets the common class loader for the application used to load the user classes for the application.- Returns:
- A class loader.
getFileOrResource
Gets the URL or File resource to a target reference.- Parameters:
target
- The target reference as a normal Module reference string "module:/path/resource".- Returns:
- The
File
ororg.eclipse.jetty.util.resource.Resource
for a Jetty Resource, null for none.