Java Doc for MBeanComponentKeeper.java in  » Authentication-Authorization » josso-1.7 » org » josso » 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 » Authentication Authorization » josso 1.7 » org.josso 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.josso.ComponentKeeperImpl
      org.josso.MBeanComponentKeeper

MBeanComponentKeeper
public class MBeanComponentKeeper extends ComponentKeeperImpl implements NotificationListener(Code)
This ComponentKeeper will register a Model MBean for using JOSSO components as managed resources. It can also keep JOSSO configuration files synchronized with MBeans attribute changes.
author:
   Sebastian Gonzalez Oyuela
version:
   $Id: MBeanComponentKeeper.java 508 2008-02-18 13:32:29Z sgonzalez $


Field Summary
final public static  StringJOSSO_DOMAIN
     Base JOSSO JMX domain.

Constructor Summary
public  MBeanComponentKeeper()
    

Method Summary
public  ObjectNamebuildObjectName(Object o)
    
public  ObjectNamebuildObjectName(Object o, String type)
     Builds a JMX Object name based on an object instance.
public  ObjectNamebuildObjectName(String oname)
     This method builds an ObjectName instance, using the JOSSO JMX domain.
protected  ListfetchAuditHandlers(Configuration config)
    
protected  SSOAuditManagerfetchAuditManager(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  AuthenticationSchemefetchAuthenticationScheme(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  AuthenticatorfetchAuthenticator(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  CredentialStorefetchCredentialStore(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  ListfetchEventListeners(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  SSOEventManagerfetchEventManager(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
public  GatewayServiceLocatorfetchGatewayServiceLocator(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  SSOIdentityManagerfetchIdentityManager(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  IdentityStorefetchIdentityStore(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
public  SSOAgentfetchSSOAgent()
     Registers a Model MBean using the fetched comonent as managed resource.
public  SecurityDomainfetchSecurityDomain()
    
protected  SessionIdGeneratorfetchSessionIdGenerator(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  SSOSessionManagerfetchSessionManager(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  SessionStorefetchSessionStore(Configuration config)
     Registers a Model MBean using the fetched comonent as managed resource.
protected  MBeanServergetMBeanServer()
     Finds the propper MBeanServer instance.
public  voidhandleNotification(Notification notification, Object o)
     JMX NotificationListener implementation.
public  voidregisterResource(Object resource)
     Util method to register a resource as a MBean.
public  voidregisterResource(ObjectName oname, Object resource)
     Util to register any JOSSO resource as an MBean.
protected  voidregisterSSOConfigurationEventListener(SSOConfigurationEventListener listener)
     Adss a new listener to the chain.

Field Detail
JOSSO_DOMAIN
final public static String JOSSO_DOMAIN(Code)
Base JOSSO JMX domain.




Constructor Detail
MBeanComponentKeeper
public MBeanComponentKeeper()(Code)




Method Detail
buildObjectName
public ObjectName buildObjectName(Object o)(Code)



buildObjectName
public ObjectName buildObjectName(Object o, String type)(Code)
Builds a JMX Object name based on an object instance.



buildObjectName
public ObjectName buildObjectName(String oname)(Code)
This method builds an ObjectName instance, using the JOSSO JMX domain.



fetchAuditHandlers
protected List fetchAuditHandlers(Configuration config) throws Exception(Code)



fetchAuditManager
protected SSOAuditManager fetchAuditManager(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchAuthenticationScheme
protected AuthenticationScheme fetchAuthenticationScheme(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchAuthenticator
protected Authenticator fetchAuthenticator(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchCredentialStore
protected CredentialStore fetchCredentialStore(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchEventListeners
protected List fetchEventListeners(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchEventManager
protected SSOEventManager fetchEventManager(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchGatewayServiceLocator
public GatewayServiceLocator fetchGatewayServiceLocator(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchIdentityManager
protected SSOIdentityManager fetchIdentityManager(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchIdentityStore
protected IdentityStore fetchIdentityStore(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchSSOAgent
public SSOAgent fetchSSOAgent() throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchSecurityDomain
public SecurityDomain fetchSecurityDomain() throws Exception(Code)



fetchSessionIdGenerator
protected SessionIdGenerator fetchSessionIdGenerator(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchSessionManager
protected SSOSessionManager fetchSessionManager(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



fetchSessionStore
protected SessionStore fetchSessionStore(Configuration config) throws Exception(Code)
Registers a Model MBean using the fetched comonent as managed resource. Delegates component construction to parent class.



getMBeanServer
protected MBeanServer getMBeanServer()(Code)
Finds the propper MBeanServer instance.



handleNotification
public void handleNotification(Notification notification, Object o)(Code)
JMX NotificationListener implementation.



registerResource
public void registerResource(Object resource)(Code)
Util method to register a resource as a MBean. The M
Parameters:
  resource - the resource instance.



registerResource
public void registerResource(ObjectName oname, Object resource)(Code)
Util to register any JOSSO resource as an MBean. This implementation is based on commons-modeler. Subclasses may use a different JMX implementation.



registerSSOConfigurationEventListener
protected void registerSSOConfigurationEventListener(SSOConfigurationEventListener listener)(Code)
Adss a new listener to the chain.



Fields inherited from org.josso.ComponentKeeperImpl
final public static String JOSSO_AGENT_CONFIG(Code)(Java Doc)
final public static String JOSSO_GWY_CONFIG(Code)(Java Doc)
protected Stack _cfg(Code)(Java Doc)
protected String _securityDomainName(Code)(Java Doc)

Methods inherited from org.josso.ComponentKeeperImpl
protected List fetchAuditHandlers(Configuration config) throws Exception(Code)(Java Doc)
protected SSOAuditManager fetchAuditManager(Configuration config) throws Exception(Code)(Java Doc)
protected AuthenticationScheme fetchAuthenticationScheme(Configuration config) throws Exception(Code)(Java Doc)
protected AuthenticationScheme[] fetchAuthenticationSchemes(Configuration config) throws Exception(Code)(Java Doc)
protected Authenticator fetchAuthenticator(Configuration config) throws Exception(Code)(Java Doc)
protected CredentialStore fetchCredentialStore(Configuration config) throws Exception(Code)(Java Doc)
protected CredentialStoreKeyAdapter fetchCredentialStoreKeyAdapter(Configuration config) throws Exception(Code)(Java Doc)
protected List fetchEventListeners(Configuration config) throws Exception(Code)(Java Doc)
protected SSOEventManager fetchEventManager(Configuration config) throws Exception(Code)(Java Doc)
public GatewayServiceLocator fetchGatewayServiceLocator(Configuration config) throws Exception(Code)(Java Doc)
protected SSOIdentityManager fetchIdentityManager(Configuration config) throws Exception(Code)(Java Doc)
protected IdentityStore fetchIdentityStore(Configuration config) throws Exception(Code)(Java Doc)
protected IdentityStoreKeyAdapter fetchIdentityStoreKeyAdapter(Configuration config) throws Exception(Code)(Java Doc)
protected String[] fetchIgnoredWebResources(Configuration config)(Code)(Java Doc)
public ReverseProxyConfiguration fetchReverseProxyConfiguration() throws Exception(Code)(Java Doc)
public SSOAgent fetchSSOAgent() throws Exception(Code)(Java Doc)
public SSOAgentConfiguration fetchSSOAgentConfiguration(Configuration config)(Code)(Java Doc)
public SSOWebConfiguration fetchSSOWebConfiguration() throws Exception(Code)(Java Doc)
public SecurityDomain fetchSecurityDomain() throws Exception(Code)(Java Doc)
protected SessionIdGenerator fetchSessionIdGenerator(Configuration config) throws Exception(Code)(Java Doc)
protected SSOSessionManager fetchSessionManager(Configuration config) throws Exception(Code)(Java Doc)
protected SessionStore fetchSessionStore(Configuration config) throws Exception(Code)(Java Doc)
protected ConfigurationContext getSSOAgentConfigurationContext()(Code)(Java Doc)
protected ConfigurationContext getSSOGatewayConfigurationContext()(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.