Java Doc for PlatformContext.java in  » ESB » open-esb » com » sun » jbi » platform » 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.platform 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.jbi.platform.PlatformContext

All known Subclasses:   com.sun.jbi.framework.sun.SunASPlatformContext,  com.sun.jbi.framework.websphere.WebSpherePlatformContext,  com.sun.jbi.framework.ScaffoldPlatformContext,  com.sun.jbi.messaging.ScaffoldPlatformContext,  com.sun.jbi.management.system.ScaffoldPlatformContext,  com.sun.jbi.framework.jse.JSEPlatformContext,  com.sun.jbi.framework.jboss.JBossPlatformContext,
PlatformContext
public interface PlatformContext (Code)
This interface defines a generic way to obtain application server platform- specific information at runtime. Each platform must provide an implementation of this interface to the JBI framework.
author:
   Sun Microsystems Inc.


Field Summary
public static  StringINSTALL_ROOT_TOKEN
     Token used in the JBI registry to account for instance-local install root path.
public static  StringINSTANCE_ROOT_TOKEN
     Token used in the JBI registry to account for instance-local root path.


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

Field Detail
INSTALL_ROOT_TOKEN
public static String INSTALL_ROOT_TOKEN(Code)
Token used in the JBI registry to account for instance-local install root path.



INSTANCE_ROOT_TOKEN
public static String INSTANCE_ROOT_TOKEN(Code)
Token used in the JBI registry to account for instance-local root path.





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



getAdminServerName
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
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
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
String getInstallRoot()(Code)
Get the full path to the platform's instaall root directory. platform install root



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



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



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



getKeyStoreUtil
KeyStoreUtil getKeyStoreUtil()(Code)
Returns a platform-specific implementation of KeyStoreUtil. an instance of KeyStoreUtil or null if KeyStoreUtilis not supported as part of this platform.



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



getMBeanServerConnection
MBeanServerConnection getMBeanServerConnection(String instanceName) throws Exception(Code)
Get the MBean server connection for a particular instance. the MBeanServerConnection for the specified instance.
throws:
  Exception - if a MBeanServerConnection cannot beobtained.



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



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



getServersInCluster
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
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
ClassLoader getSystemClassLoader()(Code)
Get the system class loader for this implementation. the ClassLoader that is the "system" class loaderfrom a JBI runtime perspective.



getTargetName
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
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
javax.transaction.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
boolean isAdminServer()(Code)
Determine whether this instance is the administration server instance. true if this instance is the administration server,false if not.



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



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



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



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



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



isValidTarget
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
void removeListener(PlatformEventListener listener)(Code)
Remove a listener for platform events.
Parameters:
  listener - listener implementation



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



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