Java Doc for ScaffoldEnvironmentContext.java in  » ESB » open-esb » com » sun » jbi » framework » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » open esb » com.sun.jbi.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.



Constructor Summary
 ScaffoldEnvironmentContext(PlatformContext platform, JBIFramework framework, Properties initialProperties)
     Constructor.

Method Summary
 longgetComponentTimeout()
     Get the timeout value for component life cycle operations.
 longgetDeploymentTimeout()
     Get the timeout value for Service Unit deploy/undeploy operations.
 longgetInstallationTimeout()
     Get the timeout value for component install/uninstall operations.
 longgetServiceUnitTimeout()
     Get the timeout value for Service Unit life cycle operations.
 voidsetComponentTimeout(long timeout)
     Set the component timeout value (used for junit testing only).
 voidsetDeploymentTimeout(long timeout)
     Set the deployment timeout value (used for junit testing only).
 voidsetInstallationTimeout(long timeout)
     Set the installation timeout value (used for junit testing only).
 voidsetServiceUnitTimeout(long timeout)
     Set the service unit timeout value (used for junit testing only).


Constructor Detail
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.




Method Detail
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.



Methods inherited from com.sun.jbi.framework.EnvironmentContext
public void createLoggerMBeans()(Code)(Java Doc)
void destroyInstance()(Code)(Java Doc)
public String getAppServerInstallRoot()(Code)(Java Doc)
public String getAppServerInstanceRoot()(Code)(Java Doc)
ComponentFramework getComponentFramework()(Code)(Java Doc)
public com.sun.jbi.ComponentManager getComponentManager()(Code)(Java Doc)
public com.sun.jbi.ComponentQuery getComponentQuery()(Code)(Java Doc)
public com.sun.jbi.ComponentQuery getComponentQuery(String targetName)(Code)(Java Doc)
ComponentRegistry getComponentRegistry()(Code)(Java Doc)
long getComponentTimeout()(Code)(Java Doc)
public com.sun.jbi.management.system.ConfigurationService getConfigurationService()(Code)(Java Doc)
public com.sun.jbi.messaging.ConnectionManager getConnectionManager()(Code)(Java Doc)
public java.util.logging.Level getDefaultLogLevel()(Code)(Java Doc)
long getDeploymentTimeout()(Code)(Java Doc)
FrameworkStatistics getFrameworkStatistics()(Code)(Java Doc)
public java.util.Properties getInitialProperties()(Code)(Java Doc)
long getInstallationTimeout()(Code)(Java Doc)
public static EnvironmentContext getInstance()(Code)(Java Doc)
public String getJbiInstallRoot()(Code)(Java Doc)
public String getJbiInstanceRoot()(Code)(Java Doc)
Logger getJbiLogger()(Code)(Java Doc)
public com.sun.jbi.registry.Registry getJustRegistry()(Code)(Java Doc)
Logger getLogger()(Code)(Java Doc)
public com.sun.jbi.management.MBeanHelper getMBeanHelper()(Code)(Java Doc)
public com.sun.jbi.management.MBeanNames getMBeanNames()(Code)(Java Doc)
public javax.management.MBeanServer getMBeanServer()(Code)(Java Doc)
public Object getManagementClass(String aServiceName)(Code)(Java Doc)
public com.sun.jbi.management.ManagementMessageFactory getManagementMessageFactory()(Code)(Java Doc)
public com.sun.jbi.management.system.ManagementService getManagementService()(Code)(Java Doc)
public com.sun.jbi.management.facade.ManagementRuntimeService getMgmtRuntimeService()(Code)(Java Doc)
public javax.naming.InitialContext getNamingContext()(Code)(Java Doc)
public String getNamingPrefix()(Code)(Java Doc)
public com.sun.jbi.messaging.MessageService getNormalizedMessageService()(Code)(Java Doc)
public EventNotifierCommon getNotifier()(Code)(Java Doc)
public PlatformContext getPlatformContext()(Code)(Java Doc)
public JBIProvider getProvider()(Code)(Java Doc)
public org.w3c.dom.Document getReadOnlyRegistry()(Code)(Java Doc)
public com.sun.jbi.registry.Registry getRegistry()(Code)(Java Doc)
public com.sun.jbi.ServiceUnitRegistration getServiceUnitRegistration()(Code)(Java Doc)
long getServiceUnitTimeout()(Code)(Java Doc)
public com.sun.jbi.StringTranslator getStringTranslator(String packageName)(Code)(Java Doc)
public com.sun.jbi.StringTranslator getStringTranslator(String packageName, String componentId)(Code)(Java Doc)
public com.sun.jbi.StringTranslator getStringTranslatorFor(Object object)(Code)(Java Doc)
public javax.transaction.TransactionManager getTransactionManager()(Code)(Java Doc)
public com.sun.jbi.VersionInfo getVersionInfo()(Code)(Java Doc)
public WsdlFactory getWsdlFactory() throws WsdlException(Code)(Java Doc)
public boolean isFrameworkReady(boolean start)(Code)(Java Doc)
public boolean isStartOnDeployEnabled()(Code)(Java Doc)
public boolean isStartOnVerifyEnabled()(Code)(Java Doc)
void setAppServerInstanceRoot(String instanceRoot)(Code)(Java Doc)
void setComponentTimeout(long timeout)(Code)(Java Doc)
void setDeploymentTimeout(long timeout)(Code)(Java Doc)
void setInstallationTimeout(long timeout)(Code)(Java Doc)
void setJbiInstallRoot(String installRoot)(Code)(Java Doc)
void setJbiInstanceRoot(String instanceRoot)(Code)(Java Doc)
void setManagementService(com.sun.jbi.management.system.ManagementService ms)(Code)(Java Doc)
void setNamingContext(InitialContext namingContext)(Code)(Java Doc)
void setNamingPrefix(String prefix)(Code)(Java Doc)
void setPlatformContext(PlatformContext platform)(Code)(Java Doc)
void setRegistry(Registry registry)(Code)(Java Doc)
void setServiceUnitTimeout(long timeout)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.