|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.MappingImpl
public final class MappingImpl
Mapping class
Constructor Summary | |
---|---|
MappingImpl(ConfigImpl config,
String virtual,
String strPhysical,
String strArchive,
short inspect,
boolean physicalFirst,
boolean hidden,
boolean readonly,
boolean topLevel,
boolean appMapping,
boolean ignoreVirtual,
ApplicationListener appListener)
|
|
MappingImpl(ConfigImpl config,
String virtual,
String strPhysical,
String strArchive,
short inspect,
boolean physicalFirst,
boolean hidden,
boolean readonly,
boolean topLevel,
boolean appMapping,
boolean ignoreVirtual,
ApplicationListener appListener,
int classLoaderMaxElements)
|
Method Summary | |
---|---|
void |
check()
checks the mapping |
void |
clearPages(ClassLoader cl)
remove all Page from Pool using this classloader |
MappingImpl |
cloneReadOnly(ConfigImpl config)
clones a mapping and make it readOnly |
ApplicationListener |
getApplicationListener()
|
Resource |
getArchive()
|
ClassLoader |
getClassLoaderForArchive()
|
int |
getClassLoaderMaxElements()
|
Resource |
getClassRootDirectory()
|
Config |
getConfig()
returns config of the mapping |
ConfigImpl |
getConfigImpl()
|
PageSource |
getCustomTagPath(String name,
boolean doCustomTagDeepSearch)
|
short |
getInspectTemplate()
inspect template setting (Config.INSPECT_*), if not defined with the mapping the config setting is returned |
short |
getInspectTemplateRaw()
inspect template setting (Config.INSPECT_*), if not defined with the mapping, Config.INSPECT_UNDEFINED is returned |
PageSource |
getPageSource(String realPath)
pagesoucre matching given realpath |
PageSource |
getPageSource(String path,
boolean isOut)
|
PageSourcePool |
getPageSourcePool()
|
PCLCollection |
getPCLCollection()
|
Resource |
getPhysical()
|
String |
getStrArchive()
|
String |
getStrPhysical()
|
String |
getVirtual()
|
String |
getVirtualLowerCase()
|
String |
getVirtualLowerCaseWithSlash()
|
boolean |
hasArchive()
|
int |
hashCode()
|
boolean |
hasPhysical()
|
boolean |
ignoreVirtual()
|
boolean |
isAppMapping()
|
boolean |
isHidden()
|
static boolean |
isOK(PageSource ps)
|
static PageSource |
isOK(PageSource[] arr)
|
boolean |
isPhysicalFirst()
|
boolean |
isReadonly()
|
boolean |
isTopLevel()
|
boolean |
isTrusted()
Deprecated. |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
String |
toString()
|
PCLCollection |
touchPCLCollection()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MappingImpl(ConfigImpl config, String virtual, String strPhysical, String strArchive, short inspect, boolean physicalFirst, boolean hidden, boolean readonly, boolean topLevel, boolean appMapping, boolean ignoreVirtual, ApplicationListener appListener)
public MappingImpl(ConfigImpl config, String virtual, String strPhysical, String strArchive, short inspect, boolean physicalFirst, boolean hidden, boolean readonly, boolean topLevel, boolean appMapping, boolean ignoreVirtual, ApplicationListener appListener, int classLoaderMaxElements)
configServer
- config
- virtual
- strPhysical
- strArchive
- trusted
- physicalFirst
- hidden
- readonly
-
IOException
Method Detail |
---|
public int getClassLoaderMaxElements()
public ClassLoader getClassLoaderForArchive()
getClassLoaderForArchive
in interface Mapping
public PCLCollection touchPCLCollection() throws IOException
IOException
public PCLCollection getPCLCollection()
public void clearPages(ClassLoader cl)
cl
- public Resource getPhysical()
getPhysical
in interface Mapping
public String getVirtualLowerCase()
getVirtualLowerCase
in interface Mapping
public String getVirtualLowerCaseWithSlash()
getVirtualLowerCaseWithSlash
in interface Mapping
public Resource getArchive()
getArchive
in interface Mapping
public boolean hasArchive()
hasArchive
in interface Mapping
public boolean hasPhysical()
hasPhysical
in interface Mapping
public Resource getClassRootDirectory()
getClassRootDirectory
in interface Mapping
public MappingImpl cloneReadOnly(ConfigImpl config)
config
-
IOException
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
public short getInspectTemplate()
public short getInspectTemplateRaw()
public PageSource getPageSource(String realPath)
Mapping
getPageSource
in interface Mapping
public PageSource getPageSource(String path, boolean isOut)
getPageSource
in interface Mapping
public PageSourcePool getPageSourcePool()
public void check()
Mapping
check
in interface Mapping
public Config getConfig()
Mapping
getConfig
in interface Mapping
public ConfigImpl getConfigImpl()
public boolean isHidden()
isHidden
in interface Mapping
public boolean isPhysicalFirst()
isPhysicalFirst
in interface Mapping
public boolean isReadonly()
isReadonly
in interface Mapping
public String getStrArchive()
getStrArchive
in interface Mapping
public String getStrPhysical()
getStrPhysical
in interface Mapping
@Deprecated public boolean isTrusted()
isTrusted
in interface Mapping
public String getVirtual()
getVirtual
in interface Mapping
public boolean isAppMapping()
public boolean isTopLevel()
isTopLevel
in interface Mapping
public PageSource getCustomTagPath(String name, boolean doCustomTagDeepSearch)
public boolean ignoreVirtual()
public static boolean isOK(PageSource ps)
public static PageSource isOK(PageSource[] arr)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public ApplicationListener getApplicationListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |