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 SummaryModifier and TypeMethodDescription- getAppID()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- getAppIDString getAppID()Gets the application ID.
- getCommonClassLoaderClassLoader getCommonClassLoader()Gets the common class loader for the application used to load the user classes for the application.- Returns:
- A class loader.
 
- getFileOrResourceGets 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 Fileororg.eclipse.jetty.util.resource.Resourcefor a Jetty Resource, null for none.