Java Doc for ScaffoldPlatformContext.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.ScaffoldPlatformContext

ScaffoldPlatformContext
public class ScaffoldPlatformContext implements PlatformContext(Code)
This is a test class to provide a simple PlatformContext implementation for use by the TestEnvironmentContext class.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  ScaffoldPlatformContext()
     Create a new PlatformContextImpl.

Method Summary
public  voidaddListener(PlatformEventListener listener)
     Register a listener for platform events.
public  StringgetAdminServerName()
     Get the instance name of the platform's administration server.
public  Set<String>getClusterNames()
     Get a set of the names of all the clusters in the domain.
public  Set<String>getClusteredServerNames()
     Get a set of the names of all the clustered servers in the domain.
public  StringgetInstallRoot()
     Get the full path to the platform's instaall root directory.
public  StringgetInstanceName()
     Get the name of this instance.
public  StringgetInstanceRoot()
     Get the full path to the platform's instance root directory.
public  StringgetJmxRmiPort()
     Get a string representation of the DAS JMX RMI connector port.
public  KeyStoreUtilgetKeyStoreUtil()
     Returns the KeyStoreUtil for Java SE.
public  MBeanServergetMBeanServer()
     Provides access to the platform's MBean server.
public  MBeanServerConnectiongetMBeanServerConnection(String instanceName)
     Get the MBean server connection for a particular instance.
public  InitialContextgetNamingContext()
     Retrieves the naming context that should be used to locate platform resources (e.g.
public  JBIProvidergetProvider()
     Returns the provider type for this platform.
public  Set<String>getServersInCluster(String clusterName)
     Get a set of the names of all the servers in the specified cluster.
public  Set<String>getStandaloneServerNames()
     Get a set of the names of all the standalone servers in the domain.
public  ClassLoadergetSystemClassLoader()
     Get the JBI system class loader for this implementation.
public  StringgetTargetName()
     Get the Target Name.
public  StringgetTargetName(String instanceName)
     Get the Target Name for a specified instance.
public  TransactionManagergetTransactionManager()
     Get the TransactionManager for this implementation.
public  booleanisAdminServer()
     Determine whether this instance is the administration server instance.
public  booleanisCluster(String targetName)
     Determine whether a target is a cluster.
public  booleanisClusteredServer(String targetName)
     Determine whether the target is a clustered server.
public  booleanisInstanceClustered(String instanceName)
     Determine whether or not an instance is clustered.
public  booleanisInstanceUp(String instanceName)
    
public  booleanisStandaloneServer(String targetName)
     Determine whether a target is a standalone server.
public  booleanisValidTarget(String targetName)
     Determine whether a target is a valid server or cluster name.
public  voidremoveListener(PlatformEventListener listener)
     Remove a listener for platform events.
public  voidsetInstallRoot(String installRoot)
     Set the full path to the platform's install root directory.
public  voidsetInstanceRoot(String instanceRoot)
     Set the full path to the platform's instance root directory.
public  voidsetTransactionManager(TransactionManager transactionManager)
     Specify the transaction manager.
public  booleansupportsMultipleServers()
     Determine whether multiple servers are permitted within this AS installation.


Constructor Detail
ScaffoldPlatformContext
public ScaffoldPlatformContext()(Code)
Create a new PlatformContextImpl.




Method Detail
addListener
public void addListener(PlatformEventListener listener)(Code)
Register a listener for platform events.
Parameters:
  listener - listener implementation



getAdminServerName
public String getAdminServerName()(Code)
Get the instance name of the platform's administration server. If the platform does not provide a separate administration server, then this method returns the name of the local instance. instance name of the administration server



getClusterNames
public Set<String> getClusterNames()(Code)
Get a set of the names of all the clusters in the domain. a set of names of clusters in the domain.



getClusteredServerNames
public Set<String> getClusteredServerNames()(Code)
Get a set of the names of all the clustered servers in the domain. a set of names of clustered servers in the domain.



getInstallRoot
public String getInstallRoot()(Code)
Get the full path to the platform's instaall root directory. platform install root



getInstanceName
public String getInstanceName()(Code)
Get the name of this instance. the name of this server instance.



getInstanceRoot
public String getInstanceRoot()(Code)
Get the full path to the platform's instance root directory. platform instance root



getJmxRmiPort
public String getJmxRmiPort()(Code)
Get a string representation of the DAS JMX RMI connector port. the JMX RMI connector port as a (CODE>String.



getKeyStoreUtil
public KeyStoreUtil getKeyStoreUtil()(Code)
Returns the KeyStoreUtil for Java SE. Currently unsupported a KeyStoreUtil
exception:
  UnsupportedOperationException -



getMBeanServer
public MBeanServer getMBeanServer()(Code)
Provides access to the platform's MBean server. platform MBean server.



getMBeanServerConnection
public MBeanServerConnection getMBeanServerConnection(String instanceName)(Code)
Get the MBean server connection for a particular instance. the MBeanServerConnection for the specified instance.



getNamingContext
public InitialContext getNamingContext()(Code)
Retrieves the naming context that should be used to locate platform resources (e.g. TransactionManager). naming context



getProvider
public JBIProvider getProvider()(Code)
Returns the provider type for this platform. enum value corresponding to this platform implementation.



getServersInCluster
public Set<String> getServersInCluster(String clusterName)(Code)
Get a set of the names of all the servers in the specified cluster. a set of names of servers in the cluster.



getStandaloneServerNames
public Set<String> getStandaloneServerNames()(Code)
Get a set of the names of all the standalone servers in the domain. a set of names of standalone servers in the domain.



getSystemClassLoader
public ClassLoader getSystemClassLoader() throws SecurityException(Code)
Get the JBI system class loader for this implementation. the ClassLoader that is the "system" class loaderfrom a JBI runtime perspective.
throws:
  SecurityException - if access to the class loader is denied.



getTargetName
public String getTargetName()(Code)
Get the Target Name. If the instance is not a clustered instance then the target name is the instance name. If the instance is part of a cluster then the target name is the cluster name. the target name.



getTargetName
public String getTargetName(String instanceName)(Code)
Get the Target Name for a specified instance. If the instance is not clustered the instance name is returned. This operation is invoked by the JBI instance MBeans only. the target name.



getTransactionManager
public TransactionManager getTransactionManager() throws Exception(Code)
Get the TransactionManager for this implementation. The instance returned is an implementation of the standard JTS interface. If none is available, returns null. A TransactionManager instance.
throws:
  Exception - if a TransactionManager cannot be obtained.



isAdminServer
public boolean isAdminServer()(Code)
Determine whether this instance is the administration server instance. true if this instance is the administration server,false if not.



isCluster
public boolean isCluster(String targetName)(Code)
Determine whether a target is a cluster. true if targetName is a cluster,false if not.



isClusteredServer
public boolean isClusteredServer(String targetName)(Code)
Determine whether the target is a clustered server. true if targetName is a clusteredserver, false if not.



isInstanceClustered
public boolean isInstanceClustered(String instanceName)(Code)
Determine whether or not an instance is clustered. true if the instance is clustered,false if not.



isInstanceUp
public boolean isInstanceUp(String instanceName)(Code)
true if the instance is up and running, false otherwise



isStandaloneServer
public boolean isStandaloneServer(String targetName)(Code)
Determine whether a target is a standalone server. true if targetName is a standaloneserver, false if not.



isValidTarget
public boolean isValidTarget(String targetName)(Code)
Determine whether a target is a valid server or cluster name. true if targetName is a validstandalone server name or cluster name, false if not.



removeListener
public void removeListener(PlatformEventListener listener)(Code)
Remove a listener for platform events.
Parameters:
  listener - listener implementation



setInstallRoot
public void setInstallRoot(String installRoot)(Code)
Set the full path to the platform's install root directory.
Parameters:
  install - platform install root



setInstanceRoot
public void setInstanceRoot(String instanceRoot)(Code)
Set the full path to the platform's instance root directory.
Parameters:
  instanceRoot - platform instance root



setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)(Code)
Specify the transaction manager.
Parameters:
  transactionManager - the TM



supportsMultipleServers
public boolean supportsMultipleServers()(Code)
Determine whether multiple servers are permitted within this AS installation. true if multiple servers are permitted.



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.