railo.runtime
Interface Mapping

All Superinterfaces:
Dumpable, java.io.Serializable

public interface Mapping
extends Dumpable

interface of the mapping definition


Method Summary
 void check()
          checks the mapping
 Resource getArchive()
           
 java.lang.ClassLoader getClassLoaderForArchive()
           
 java.lang.ClassLoader getClassLoaderForPhysical(boolean reload)
          return the ClassLoader that match on the physical directory
 Resource getClassRootDirectory()
           
 Config getConfig()
          returns config of the mapping
 PageSource getPageSource(java.lang.String realPath)
          pagesoucre matching given realpath
 PageSource getPageSource(java.lang.String path, boolean isOut)
           
 Resource getPhysical()
           
 java.lang.String getStrArchive()
           
 java.lang.String getStrPhysical()
           
 java.lang.String getVirtual()
           
 java.lang.String getVirtualLowerCase()
           
 java.lang.String getVirtualLowerCaseWithSlash()
           
 boolean hasArchive()
           
 boolean hasPhysical()
           
 boolean isHidden()
           
 boolean isPhysicalFirst()
           
 boolean isReadonly()
           
 boolean isTopLevel()
           
 boolean isTrusted()
           
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 

Method Detail

getClassLoaderForArchive

public java.lang.ClassLoader getClassLoaderForArchive()
Returns:
returns the archiveClassLoader

getClassLoaderForPhysical

public java.lang.ClassLoader getClassLoaderForPhysical(boolean reload)
                                                throws java.io.IOException
return the ClassLoader that match on the physical directory

Parameters:
reload - reload the ClassLoader
Returns:
ClassLoader
Throws:
java.io.IOException

getPhysical

public Resource getPhysical()
Returns:
Returns the physical.

getVirtualLowerCase

public java.lang.String getVirtualLowerCase()
Returns:
Returns the virtual lower case.

getVirtualLowerCaseWithSlash

public java.lang.String getVirtualLowerCaseWithSlash()
Returns:
Returns the virtual lower case with slash at the end.

getArchive

public Resource getArchive()
Returns:
return the archive file

hasArchive

public boolean hasArchive()
Returns:
returns if mapping has a archive

hasPhysical

public boolean hasPhysical()
Returns:
return if mapping has a physical path

getClassRootDirectory

public Resource getClassRootDirectory()
Returns:
class root directory

getPageSource

public PageSource getPageSource(java.lang.String realPath)
pagesoucre matching given realpath

Parameters:
realPath -
Returns:
matching pagesource

getPageSource

public PageSource getPageSource(java.lang.String path,
                                boolean isOut)
Parameters:
path -
isOut -
Returns:
matching pagesoucre

check

public void check()
checks the mapping


isHidden

public boolean isHidden()
Returns:
Returns the hidden.

isPhysicalFirst

public boolean isPhysicalFirst()
Returns:
Returns the physicalFirst.

isReadonly

public boolean isReadonly()
Returns:
Returns the readonly.

getStrArchive

public java.lang.String getStrArchive()
Returns:
Returns the strArchive.

getStrPhysical

public java.lang.String getStrPhysical()
Returns:
Returns the strPhysical.

isTrusted

public boolean isTrusted()
Returns:
Returns the trusted.

isTopLevel

public boolean isTopLevel()

getVirtual

public java.lang.String getVirtual()
Returns:
Returns the virtual.

getConfig

public Config getConfig()
returns config of the mapping

Returns:
config