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


java.lang.Object
   com.sun.jbi.management.system.ModelSystemService
      com.sun.jbi.management.system.AdminService

AdminService
public class AdminService extends ModelSystemService implements AdminServiceMBean,NotificationListener(Code)
AdminServiceMBean defines the Sun Extentions to AdminServiceMBean. The AdminService is responsible for bootstrapping the JBI Framework management layer for all other system services, starting and stoping the system, and providing information that remote clients can use to access other JBI Framework system services and installed components.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  AdminService(ManagementContext anEnv)
     Constructs a AdminService.

Method Summary
public  ObjectName[]getBindingComponents()
     Get a list of ComponentLifeCycleMBean s for all binding components currently installed in the JBI system.
public  StringgetBuildNumber()
    
public  ObjectNamegetComponentByName(String name)
     Find the ComponentLifeCycleMBean of a JBI Installable Component by its unique name.
public  ObjectName[]getComponentMBeans(String componentName)
     Lookup all active MBeans associated with componentName.
Parameters:
  componentName - - is the name of the BC or SE.
public  StringgetCopyright()
    
public  ObjectName[]getDeployerMBeanNames(String componentName)
     Get the DeployerMBean for the componentName associated with artifactUrl.
public  ObjectName[]getEngineComponents()
     Get a list of ComponentLifeCycleMBean s for all service engines currently installed in the JBI system.
public  StringgetFullProductName()
    
public  StringgetJbiInstanceName()
    
public  StringgetMajorVersion()
    
public  StringgetMinorVersion()
    
public  StringgetRemoteFileUploadURL()
     Return URL that can be used to upload and deploy a remote Service Assembly.
public  StringgetShortProductName()
    
public  StringgetSystemInfo()
     Return current version and other info about this JBI implementation.
public  ObjectNamegetSystemService(String serviceName)
     Lookup a system service LifeCycleMBean by name.
public  ObjectName[]getSystemServices()
     Looks up all JBI system services LifeCycleMBean 's currently installed.
public  voidhandleNotification(Notification aNotification, Object anObject)
     Handle timer notifications.
protected  voidinitModelSystemService(com.sun.jbi.EnvironmentContext anEnv)
     local model init - called by constructor - create custom mbeans.
public  booleanisBinding(String componentName)
     Check if a given JBI component is a Binding Component.
public  booleanisEngine(String componentName)
     Check if a given JBI component is a Service Engine.
public  ObjectName[]queryHelper(String qStr)
     Execute a query and return array of mbean object names with result.
public  ObjectName[]queryHelper(String qStr, MBeanServerConnection rmbs)
     Execute a query and return array of mbean object names with result.
public  booleanshutdownManagementServices()
     Shutdown all Management service agents and deregister all MBeans..
public synchronized  voidstart()
     override model start() method.
public  booleanstartManagementServices()
    
public synchronized  voidstop()
     override model stop() method.
public  booleanstopManagementServices()
     Stop all Management service agents and deregister Service Mbeans.


Constructor Detail
AdminService
public AdminService(ManagementContext anEnv)(Code)
Constructs a AdminService.
Parameters:
  anEnv - is the ManagementContext.




Method Detail
getBindingComponents
public ObjectName[] getBindingComponents()(Code)
Get a list of ComponentLifeCycleMBean s for all binding components currently installed in the JBI system. array of JMX object names of component life cycle MBeans for all installed binding components; must be non-null; may be empty



getBuildNumber
public String getBuildNumber()(Code)
the build number for this version.



getComponentByName
public ObjectName getComponentByName(String name)(Code)
Find the ComponentLifeCycleMBean of a JBI Installable Component by its unique name.
Parameters:
  name - the name of the engine or binding component; must be non-null and non-empty the JMX object name of the component's life cycle MBean, or null if there is no such component with the given name



getComponentMBeans
public ObjectName[] getComponentMBeans(String componentName)(Code)
Lookup all active MBeans associated with componentName.
Parameters:
  componentName - - is the name of the BC or SE. the array of JMX object names for the component.



getCopyright
public String getCopyright()(Code)
the Copyright for this version.



getDeployerMBeanNames
public ObjectName[] getDeployerMBeanNames(String componentName)(Code)
Get the DeployerMBean for the componentName associated with artifactUrl. JMX object name of Component's DeployerMBean or null



getEngineComponents
public ObjectName[] getEngineComponents()(Code)
Get a list of ComponentLifeCycleMBean s for all service engines currently installed in the JBI system. array of JMX object names of component life cycle MBeans for all installed service engines; must be non-null; may be empty



getFullProductName
public String getFullProductName()(Code)
the full product name.



getJbiInstanceName
public String getJbiInstanceName()(Code)
Return the name of this JBI Framework runtime the instance name of this runtime.



getMajorVersion
public String getMajorVersion()(Code)
the major version number.



getMinorVersion
public String getMinorVersion()(Code)
the minor version number.



getRemoteFileUploadURL
public String getRemoteFileUploadURL() throws Exception(Code)
Return URL that can be used to upload and deploy a remote Service Assembly. URL String



getShortProductName
public String getShortProductName()(Code)
the short product name.



getSystemInfo
public String getSystemInfo()(Code)
Return current version and other info about this JBI implementation. The contents of the returned string are implementation dependent. information string about the JBI implementation, including version information; must be non-null and non-empty



getSystemService
public ObjectName getSystemService(String serviceName)(Code)
Lookup a system service LifeCycleMBean by name. System services are implementation-defined services which can administered through JMX, and have a life cycle.

System services are not related to service engines.
Parameters:
  serviceName - name of the system service; must be non-null and non-empty; values are implementation-dependent JMX object name of the system service's LifeCycleMBean, or null if there is no system service with the givenname.




getSystemServices
public ObjectName[] getSystemServices()(Code)
Looks up all JBI system services LifeCycleMBean 's currently installed. System services are implementation-defined services which can administered through JMX. System services are not related to service engines. array of LifecycleMBean JMX object names of system services currently installed in the JBI implementation; must be non-null;may be empty



handleNotification
public void handleNotification(Notification aNotification, Object anObject)(Code)
Handle timer notifications.
Parameters:
  aNotification - is the received (timer) notification
Parameters:
  anObject - is the notification object (ignored)



initModelSystemService
protected void initModelSystemService(com.sun.jbi.EnvironmentContext anEnv)(Code)
local model init - called by constructor - create custom mbeans.



isBinding
public boolean isBinding(String componentName)(Code)
Check if a given JBI component is a Binding Component.
Parameters:
  componentName - the unique name of the component; must be non-nulland non-empty true if the component is a binding component; false if the component is a service engine or ifthere is no component with the given componentNameinstalled in the JBI system



isEngine
public boolean isEngine(String componentName)(Code)
Check if a given JBI component is a Service Engine.
Parameters:
  componentName - the unique name of the component; must be non-nulland non-empty true if the component is a service engine;false if the component is a binding component, or ifthere is no component with the given componentNameinstalled in the JBI system



queryHelper
public ObjectName[] queryHelper(String qStr)(Code)
Execute a query and return array of mbean object names with result. This form of queryHelper always executes in the local mbean server.
Parameters:
  qStr - is a JMX formatted query string array of JMX object names, possibly of zero length.



queryHelper
public ObjectName[] queryHelper(String qStr, MBeanServerConnection rmbs)(Code)
Execute a query and return array of mbean object names with result.
Parameters:
  qStr - is a JMX formatted query string array of JMX object names, possibly of zero length.



shutdownManagementServices
public boolean shutdownManagementServices()(Code)
Shutdown all Management service agents and deregister all MBeans.. true if successful.



start
public synchronized void start() throws JBIException(Code)
override model start() method.
throws:
  JBIException - never



startManagementServices
public boolean startManagementServices()(Code)
Start all Management service agents true if successful.



stop
public synchronized void stop() throws JBIException(Code)
override model stop() method.
throws:
  JBIException - never



stopManagementServices
public boolean stopManagementServices()(Code)
Stop all Management service agents and deregister Service Mbeans. true if successful.



Fields inherited from com.sun.jbi.management.system.ModelSystemService
protected ObjectName mAdminServiceMBeanName(Code)(Java Doc)
protected ObjectName mConfigMBeanName(Code)(Java Doc)
protected ObjectName mConfigServiceMBeanName(Code)(Java Doc)
protected ObjectName mDeployServiceMBeanName(Code)(Java Doc)
protected String mDisplayName(Code)(Java Doc)
protected com.sun.jbi.EnvironmentContext mEnv(Code)(Java Doc)
protected MBeanSet mInitialMBeansmStartMBeans(Code)(Java Doc)
protected ObjectName mInstallServiceMBeanName(Code)(Java Doc)
protected JbiNameInfo mJbiNameInfo(Code)(Java Doc)
protected ObjectName mLifeCycleMBeanName(Code)(Java Doc)
protected Logger mLogger(Code)(Java Doc)
protected LoggerMBean mLoggerImpl(Code)(Java Doc)
protected ObjectName mLoggerMBeanName(Code)(Java Doc)
protected ObjectName mLoggingServiceMBeanName(Code)(Java Doc)
protected com.sun.jbi.management.MBeanNames mMBeanNames(Code)(Java Doc)
protected MBeanServer mMBeanServer(Code)(Java Doc)
protected ObjectName mMessageServiceMBeanName(Code)(Java Doc)
final protected String mModelName(Code)(Java Doc)
protected ObjectName mStatisticsMBeanName(Code)(Java Doc)
protected StringTranslator mTranslator(Code)(Java Doc)

Methods inherited from com.sun.jbi.management.system.ModelSystemService
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws java.lang.IllegalArgumentException(Code)(Java Doc)
protected void bootstrap()(Code)(Java Doc)
protected com.sun.jbi.ComponentQuery getComponentQuery()(Code)(Java Doc)
public String getCurrentState()(Code)(Java Doc)
public NotificationBroadcasterSupport getNotificationBroadcaster()(Code)(Java Doc)
public MBeanNotificationInfo[] getNotificationInfo()(Code)(Java Doc)
protected Registry getRegistry()(Code)(Java Doc)
protected void initModelSystemService(com.sun.jbi.EnvironmentContext anEnv, JbiNameInfo aJbiName)(Code)(Java Doc)
protected void initModelSystemService(com.sun.jbi.EnvironmentContext anEnv, Logger aLogger, JbiNameInfo aJbiName)(Code)(Java Doc)
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)(Java Doc)
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)(Java Doc)
public void shutDown() throws javax.jbi.JBIException(Code)(Java Doc)
public void start() throws javax.jbi.JBIException(Code)(Java Doc)
public void stop() throws javax.jbi.JBIException(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.