|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoreConfig
Holds basic configuration information about the Janno core. An implementation
of this component is implicitly registered in the root server
context.
Method Summary | |
---|---|
URL |
getApplicationResource(String path)
Deprecated. Janno is no longer limited to a single web-application. This method returns an undefined value and will be removed before feature lock. |
InputStream |
getApplicationResourceAsStream(String path)
Deprecated. Janno is no longer limited to a single web-application. This method returns an undefined value and will be removed before feature lock. |
File |
getJannoRoot()
|
File |
getJannoWar()
Deprecated. You should deploy Janno unpacked, and most app servers will unpack it if you don't anyway, so this method mostly returns null . It will be removed before feature lock. |
org.apache.commons.logging.Log |
getLog()
|
File |
getModuleDirectory()
Returns the directory containing modules for deployment. |
MoxyContext |
getServerContext()
|
ServletContext |
getServletContext()
Deprecated. Janno is no longer limited to a single web-application. This method returns an undefined value and will be removed before feature lock. |
Method Detail |
---|
File getJannoRoot()
null
if Janno
is deployed as a packed War.@Deprecated File getJannoWar()
null
. It will be removed before feature lock.
null
if
unpacked deployment was used, or the core could not determine the
location of the file.File getModuleDirectory()
META-INF/modules
, although no validation is performed.
null
if the module
directory couldn't be determined.MoxyContext getServerContext()
server
) context in the Janno tree.@Deprecated ServletContext getServletContext()
ServletContext
allocated to the Janno
core.@Deprecated URL getApplicationResource(String path) throws MalformedURLException
getResource
method and should be
independent of the deployment method in use. Paths should be specified
with leading slash, relative to the Janno webapp root.
URL
referencing the requested resource.
MalformedURLException
@Deprecated InputStream getApplicationResourceAsStream(String path)
getResourceAsStream
method and
should be independent of the deployment method in use. Paths should be
specified with leading slash, relative to the Janno webapp root.
InputStream
referencing the requested resource.org.apache.commons.logging.Log getLog()
Log
provided for module
deployer and other core code to use. This is independent of any
ServletContext log and will usually be routed to the server log unless
configured otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |