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

All known Subclasses:   com.sun.jbi.internal.security.SecurityService,  com.sun.jbi.management.system.DeploymentService,  com.sun.jbi.messaging.MessageService,  com.sun.jbi.management.system.LoggingService,  com.sun.jbi.management.system.ConfigurationService,  com.sun.jbi.management.system.InstallationService,  com.sun.jbi.management.system.AdminService,
ModelSystemService
abstract public class ModelSystemService implements LifeCycleMBean,NotificationEmitter(Code)
The ModelSystemService implements the management controls for a standard JBI Framework system service.
author:
   Sun Microsystems, Inc.


Field Summary
protected  ObjectNamemAdminServiceMBeanName
    
protected  ObjectNamemConfigMBeanName
    
protected  ObjectNamemConfigServiceMBeanName
    
protected  ObjectNamemDeployServiceMBeanName
    
protected  StringmDisplayName
    
protected  com.sun.jbi.EnvironmentContextmEnv
    
protected  MBeanSetmInitialMBeansmStartMBeans
    
protected  ObjectNamemInstallServiceMBeanName
    
protected  JbiNameInfomJbiNameInfo
    
protected  ObjectNamemLifeCycleMBeanName
    
protected  LoggermLogger
    
protected  LoggerMBeanmLoggerImpl
    
protected  ObjectNamemLoggerMBeanName
    
protected  ObjectNamemLoggingServiceMBeanName
    
protected  com.sun.jbi.management.MBeanNamesmMBeanNames
    
protected  MBeanServermMBeanServer
    
protected  ObjectNamemMessageServiceMBeanName
    
final protected  StringmModelName
    
protected  ObjectNamemStatisticsMBeanName
    
protected  StringTranslatormTranslator
    


Method Summary
public  voidaddNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
     Adds a listener to this MBean.
Parameters:
  listener - The listener object which will handle thenotifications emitted by the broadcaster.
Parameters:
  filter - The filter object.
protected  voidbootstrap()
    
protected  com.sun.jbi.ComponentQuerygetComponentQuery()
     Get a reference to ComponentQuery.
public  StringgetCurrentState()
     Get the current state of this managed compononent.
public  NotificationBroadcasterSupportgetNotificationBroadcaster()
     Getter for local NotificationBroadcaster.
public  MBeanNotificationInfo[]getNotificationInfo()
    

Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type.

It is not illegal for the MBean to send notifications not described in this array.

protected  RegistrygetRegistry()
     Get a reference to the JBI registry.
protected  voidinitModelSystemService(com.sun.jbi.EnvironmentContext anEnv, JbiNameInfo aJbiName)
     allocate a logger, and then initialize the ModelSystemService.
protected  voidinitModelSystemService(com.sun.jbi.EnvironmentContext anEnv, Logger aLogger, JbiNameInfo aJbiName)
     Initialize the ModelSystemService.
public  voidremoveNotificationListener(NotificationListener listener)
     Removes a listener from this MBean.
public  voidremoveNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
    

Removes a listener from this MBean.

public  voidshutDown()
     Shut down the item.
public  voidstart()
     Start the item.
public  voidstop()
     Stop the item.

Field Detail
mAdminServiceMBeanName
protected ObjectName mAdminServiceMBeanName(Code)
JMX object names for all JBI system "service" mbeans:



mConfigMBeanName
protected ObjectName mConfigMBeanName(Code)
JMX object names for standard mbeans:



mConfigServiceMBeanName
protected ObjectName mConfigServiceMBeanName(Code)



mDeployServiceMBeanName
protected ObjectName mDeployServiceMBeanName(Code)



mDisplayName
protected String mDisplayName(Code)
User-friendly display name to be used by ModelSystemService methods:



mEnv
protected com.sun.jbi.EnvironmentContext mEnv(Code)



mInitialMBeansmStartMBeans
protected MBeanSet mInitialMBeansmStartMBeans(Code)



mInstallServiceMBeanName
protected ObjectName mInstallServiceMBeanName(Code)



mJbiNameInfo
protected JbiNameInfo mJbiNameInfo(Code)
handle to jbi system or installed component identification:



mLifeCycleMBeanName
protected ObjectName mLifeCycleMBeanName(Code)



mLogger
protected Logger mLogger(Code)
Logger to be used by ModelSystemService methods:



mLoggerImpl
protected LoggerMBean mLoggerImpl(Code)
The default logger implementation, all logger tasks are delegated to this MBean



mLoggerMBeanName
protected ObjectName mLoggerMBeanName(Code)



mLoggingServiceMBeanName
protected ObjectName mLoggingServiceMBeanName(Code)



mMBeanNames
protected com.sun.jbi.management.MBeanNames mMBeanNames(Code)
handle to our MBean Namer:



mMBeanServer
protected MBeanServer mMBeanServer(Code)
handle to our MBean Server:



mMessageServiceMBeanName
protected ObjectName mMessageServiceMBeanName(Code)



mModelName
final protected String mModelName(Code)



mStatisticsMBeanName
protected ObjectName mStatisticsMBeanName(Code)



mTranslator
protected StringTranslator mTranslator(Code)
Handle to StringTranslator for message translation:





Method Detail
addNotificationListener
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws java.lang.IllegalArgumentException(Code)
Adds a listener to this MBean.
Parameters:
  listener - The listener object which will handle thenotifications emitted by the broadcaster.
Parameters:
  filter - The filter object. If filter is null, nofiltering will be performed before handling notifications.
Parameters:
  handback - An opaque object to be sent back to thelistener when a notification is emitted. This object cannot beused by the Notification broadcaster object. It should beresent unchanged with the notification to the listener.
exception:
  IllegalArgumentException - Listener parameter is null.
See Also:   ModelSystemService.removeNotificationListener



bootstrap
protected void bootstrap()(Code)
perform one-time startup tasks for this model



getComponentQuery
protected com.sun.jbi.ComponentQuery getComponentQuery()(Code)
Get a reference to ComponentQuery.



getCurrentState
public String getCurrentState()(Code)
Get the current state of this managed compononent. the current state of this managed component (must be one of the string constants defined by this interface)



getNotificationBroadcaster
public NotificationBroadcasterSupport getNotificationBroadcaster()(Code)
Getter for local NotificationBroadcaster. NotificationBroadcaster



getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()(Code)

Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type.

It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.

the array of possible notifications.



getRegistry
protected Registry getRegistry()(Code)
Get a reference to the JBI registry.



initModelSystemService
protected void initModelSystemService(com.sun.jbi.EnvironmentContext anEnv, JbiNameInfo aJbiName)(Code)
allocate a logger, and then initialize the ModelSystemService.



initModelSystemService
protected void initModelSystemService(com.sun.jbi.EnvironmentContext anEnv, Logger aLogger, JbiNameInfo aJbiName)(Code)
Initialize the ModelSystemService. This does not register any mbeans.



removeNotificationListener
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)
Removes a listener from this MBean. If the listener has been registered with different handback objects or notification filters, all entries corresponding to the listener will be removed.
Parameters:
  listener - A listener that was previously added to thisMBean.
exception:
  ListenerNotFoundException - The listener is notregistered with the MBean.
See Also:   ModelSystemService.addNotificationListener
See Also:   NotificationEmitter.removeNotificationListener



removeNotificationListener
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)

Removes a listener from this MBean. The MBean must have a listener that exactly matches the given listener, filter, and handback parameters. If there is more than one such listener, only one is removed.

The filter and handback parameters may be null if and only if they are null in a listener to be removed.


Parameters:
  listener - A listener that was previously added to thisMBean.
Parameters:
  filter - The filter that was specified when the listenerwas added.
Parameters:
  handback - The handback that was specified when the listener wasadded.
exception:
  ListenerNotFoundException - The listener is notregistered with the MBean, or it is not registered with thegiven filter and handback.



shutDown
public void shutDown() throws javax.jbi.JBIException(Code)
Shut down the item. This releases resources and returns the item to an uninitialized state.
exception:
  javax.jbi.JBIException - if the item fails to shut down.



start
public void start() throws javax.jbi.JBIException(Code)
Start the item.
exception:
  javax.jbi.JBIException - if the item fails to start.



stop
public void stop() throws javax.jbi.JBIException(Code)
Stop the item. This suspends current messaging activities.
exception:
  javax.jbi.JBIException - if the item fails to stop.



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.