public class StandaloneApplicationContext extends Object implements org.pentaho.platform.api.engine.IApplicationContext
Constructor and Description |
---|
StandaloneApplicationContext(String solutionRootPath,
String applicationPath) |
StandaloneApplicationContext(String solutionRootPath,
String applicationPath,
Object context) |
Modifier and Type | Method and Description |
---|---|
void |
addEntryPointHandler(org.pentaho.platform.api.engine.IPentahoSystemEntryPoint entryPoint) |
void |
addExitPointHandler(org.pentaho.platform.api.engine.IPentahoSystemExitPoint exitPoint) |
File |
createTempFile(org.pentaho.platform.api.engine.IPentahoSession session,
String prefix,
String extn,
boolean trackFile) |
File |
createTempFile(org.pentaho.platform.api.engine.IPentahoSession session,
String prefix,
String extn,
File parentDir,
boolean trackFile) |
String |
getApplicationPath(String path) |
String |
getBaseUrl()
Deprecated.
|
Object |
getContext() |
String |
getFileOutputPath(String path) |
String |
getFullyQualifiedServerURL() |
String |
getPentahoServerName() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
int |
getServerPort() |
String |
getSolutionPath(String path) |
String |
getSolutionRootPath() |
void |
invokeEntryPoints() |
void |
invokeExitPoints() |
void |
removeEntryPointHandler(org.pentaho.platform.api.engine.IPentahoSystemEntryPoint entryPoint) |
void |
removeExitPointHandler(org.pentaho.platform.api.engine.IPentahoSystemExitPoint exitPoint) |
void |
setBaseUrl(String baseUrl)
Deprecated.
|
void |
setContext(Object context) |
void |
setFullyQualifiedServerURL(String fullyQualifiedServerUrl) |
void |
setProperties(Properties props) |
void |
setSolutionRootPath(String solutionRootPath) |
public StandaloneApplicationContext(String solutionRootPath, String applicationPath, Object context)
public void setFullyQualifiedServerURL(String fullyQualifiedServerUrl)
setFullyQualifiedServerURL
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getFileOutputPath(String path)
getFileOutputPath
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getSolutionPath(String path)
getSolutionPath
in interface org.pentaho.platform.api.engine.IApplicationContext
public void setSolutionRootPath(String solutionRootPath)
setSolutionRootPath
in interface org.pentaho.platform.api.engine.IApplicationContext
public File createTempFile(org.pentaho.platform.api.engine.IPentahoSession session, String prefix, String extn, boolean trackFile) throws IOException
createTempFile
in interface org.pentaho.platform.api.engine.IApplicationContext
IOException
public File createTempFile(org.pentaho.platform.api.engine.IPentahoSession session, String prefix, String extn, File parentDir, boolean trackFile) throws IOException
createTempFile
in interface org.pentaho.platform.api.engine.IApplicationContext
IOException
public String getPentahoServerName()
getPentahoServerName
in interface org.pentaho.platform.api.engine.IApplicationContext
public int getServerPort()
@Deprecated public void setBaseUrl(String baseUrl)
setBaseUrl
in interface org.pentaho.platform.api.engine.IApplicationContext
@Deprecated public String getBaseUrl()
getBaseUrl
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getFullyQualifiedServerURL()
getFullyQualifiedServerURL
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getApplicationPath(String path)
getApplicationPath
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getProperty(String key)
getProperty
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getProperty(String key, String defaultValue)
getProperty
in interface org.pentaho.platform.api.engine.IApplicationContext
public void setProperties(Properties props)
public void addEntryPointHandler(org.pentaho.platform.api.engine.IPentahoSystemEntryPoint entryPoint)
addEntryPointHandler
in interface org.pentaho.platform.api.engine.IApplicationContext
public void removeEntryPointHandler(org.pentaho.platform.api.engine.IPentahoSystemEntryPoint entryPoint)
removeEntryPointHandler
in interface org.pentaho.platform.api.engine.IApplicationContext
public void addExitPointHandler(org.pentaho.platform.api.engine.IPentahoSystemExitPoint exitPoint)
addExitPointHandler
in interface org.pentaho.platform.api.engine.IApplicationContext
public void removeExitPointHandler(org.pentaho.platform.api.engine.IPentahoSystemExitPoint exitPoint)
removeExitPointHandler
in interface org.pentaho.platform.api.engine.IApplicationContext
public void invokeEntryPoints()
invokeEntryPoints
in interface org.pentaho.platform.api.engine.IApplicationContext
public void invokeExitPoints()
invokeExitPoints
in interface org.pentaho.platform.api.engine.IApplicationContext
public Object getContext()
getContext
in interface org.pentaho.platform.api.engine.IApplicationContext
public void setContext(Object context)
setContext
in interface org.pentaho.platform.api.engine.IApplicationContext
public String getSolutionRootPath()
getSolutionRootPath
in interface org.pentaho.platform.api.engine.IApplicationContext
Copyright © 2019 Hitachi Vantara. All rights reserved.