| |
|
| java.lang.Object com.sun.jbi.framework.EnvironmentContext com.sun.jbi.framework.ScaffoldEnvironmentContext
ScaffoldEnvironmentContext | public class ScaffoldEnvironmentContext extends com.sun.jbi.framework.EnvironmentContext implements com.sun.jbi.EnvironmentContext(Code) | | This is a test class to provide a simpler framework EnvironmentContext implementation
for use by the TestDeployer class. This class extends the EnvironmentContext class
and overrides the get/set*Timeout operations.
author: Sun Microsystems, Inc. |
ScaffoldEnvironmentContext | ScaffoldEnvironmentContext(PlatformContext platform, JBIFramework framework, Properties initialProperties) throws javax.jbi.JBIException(Code) | | Constructor.
Parameters: initialProperties - is the Properties object provided bythe AppServer, containing all properties specified in thedefinition of the JBI lifecycle module. Parameters: asInstallRoot - is a string representing the installationroot directory of the AppServer. Parameters: asInstanceRoot - is a string representing the installationroot directory of the AppServer instance. Parameters: mbeanServer - is the MBean Server to be used for JMX support. Parameters: provider - object representing the JBI provider. Parameters: framework - object representing the JBI Framework. throws: javax.jbi.JBIException - if any error occurs. |
getComponentTimeout | long getComponentTimeout()(Code) | | Get the timeout value for component life cycle operations.
The timeout value in milliseconds for calls to the component'sComponentLifeCycle methods. |
getDeploymentTimeout | long getDeploymentTimeout()(Code) | | Get the timeout value for Service Unit deploy/undeploy operations.
The timeout value in milliseconds for calls to the component'sServiceUnitManager deploy and undeploy methods. |
getInstallationTimeout | long getInstallationTimeout()(Code) | | Get the timeout value for component install/uninstall operations.
The timeout value in milliseconds for calls to the component'sBootstrap onInstall and onUninstall methods. |
getServiceUnitTimeout | long getServiceUnitTimeout()(Code) | | Get the timeout value for Service Unit life cycle operations.
The timeout value in milliseconds for calls to the component'sServiceUnitManager life cycle methods. |
setComponentTimeout | void setComponentTimeout(long timeout)(Code) | | Set the component timeout value (used for junit testing only).
Parameters: timeout - the timeout value in milliseconds. |
setDeploymentTimeout | void setDeploymentTimeout(long timeout)(Code) | | Set the deployment timeout value (used for junit testing only).
Parameters: timeout - the timeout value in milliseconds. |
setInstallationTimeout | void setInstallationTimeout(long timeout)(Code) | | Set the installation timeout value (used for junit testing only).
Parameters: timeout - the timeout value in milliseconds. |
setServiceUnitTimeout | void setServiceUnitTimeout(long timeout)(Code) | | Set the service unit timeout value (used for junit testing only).
Parameters: timeout - the timeout value in milliseconds. |
|
|
|