Java Doc for SecurityManagerTestCase.java in  » JMX » mx4j » test » javax » management » 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 » JMX » mx4j » test.javax.management 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


test.MX4JTestCase
   test.javax.management.SecurityManagerTestCase

All known Subclasses:   test.javax.management.LocalSecurityManagerTest,  test.javax.management.remote.RemoteSecurityManagerTestCase,
SecurityManagerTestCase
abstract public class SecurityManagerTestCase extends MX4JTestCase (Code)
Test case class that defines all tests to be performed by a security manager test both for the local (that is, MBeanServer tests) and the remote (that is, for MBeanServerConnection tests) case. It also defines the implementations of the test methods, leaving to subclasses only the creation of the MBeanServerConnection (or MBeanServer) object.
version:
   $Revision: 1.5 $

Inner Class :public interface SimpleMBean
Inner Class :public static class Simple implements SimpleMBean


Constructor Summary
public  SecurityManagerTestCase(String s)
    

Method Summary
abstract protected  voidaddPermission(Permission p)
    
abstract protected  voidresetPermissions()
    
abstract public  voidtestAddRemoveNotificationListener()
    
protected  voidtestAddRemoveNotificationListener(MBeanServerConnection server)
    
abstract public  voidtestCreateMBean4Params()
    
protected  voidtestCreateMBean4Params(MBeanServerConnection server)
    
abstract public  voidtestCreateMBean5Params()
    
protected  voidtestCreateMBean5Params(MBeanServerConnection server)
    
abstract public  voidtestGetAttribute()
    
protected  voidtestGetAttribute(MBeanServerConnection server)
    
abstract public  voidtestGetAttributes()
    
protected  voidtestGetAttributes(MBeanServerConnection server)
    
abstract public  voidtestGetDefaultDomain()
    
protected  voidtestGetDefaultDomain(MBeanServerConnection server, String domain)
    
abstract public  voidtestGetDomains()
    
protected  voidtestGetDomains(MBeanServerConnection server)
    
abstract public  voidtestGetMBeanCount()
    
protected  voidtestGetMBeanCount(MBeanServerConnection server)
    
abstract public  voidtestGetMBeanInfo()
    
protected  voidtestGetMBeanInfo(MBeanServerConnection server)
    
abstract public  voidtestGetObjectInstance()
    
protected  voidtestGetObjectInstance(MBeanServerConnection server)
    
abstract public  voidtestInvoke()
    
protected  voidtestInvoke(MBeanServerConnection server)
    
abstract public  voidtestIsInstanceOf()
    
protected  voidtestIsInstanceOf(MBeanServerConnection server)
    
abstract public  voidtestIsRegistered()
    
protected  voidtestIsRegistered(MBeanServerConnection server)
    
abstract public  voidtestQueryMBeans()
    
protected  voidtestQueryMBeans(MBeanServerConnection server)
    
abstract public  voidtestQueryNames()
    
protected  voidtestQueryNames(MBeanServerConnection server)
    
abstract public  voidtestSetAttribute()
    
protected  voidtestSetAttribute(MBeanServerConnection server)
    
abstract public  voidtestSetAttributes()
    
protected  voidtestSetAttributes(MBeanServerConnection server)
    
abstract public  voidtestUnregisterMBean()
    
protected  voidtestUnregisterMBean(MBeanServerConnection server)
    


Constructor Detail
SecurityManagerTestCase
public SecurityManagerTestCase(String s)(Code)




Method Detail
addPermission
abstract protected void addPermission(Permission p)(Code)
Adds the given permission to the client codesource, that is the test codesource
See Also:   SecurityManagerTestCase.resetPermissions



resetPermissions
abstract protected void resetPermissions()(Code)
Removes all permissions add via SecurityManagerTestCase.addPermission



testAddRemoveNotificationListener
abstract public void testAddRemoveNotificationListener() throws Exception(Code)



testAddRemoveNotificationListener
protected void testAddRemoveNotificationListener(MBeanServerConnection server) throws Exception(Code)



testCreateMBean4Params
abstract public void testCreateMBean4Params() throws Exception(Code)



testCreateMBean4Params
protected void testCreateMBean4Params(MBeanServerConnection server) throws Exception(Code)



testCreateMBean5Params
abstract public void testCreateMBean5Params() throws Exception(Code)



testCreateMBean5Params
protected void testCreateMBean5Params(MBeanServerConnection server) throws Exception(Code)



testGetAttribute
abstract public void testGetAttribute() throws Exception(Code)



testGetAttribute
protected void testGetAttribute(MBeanServerConnection server) throws Exception(Code)



testGetAttributes
abstract public void testGetAttributes() throws Exception(Code)



testGetAttributes
protected void testGetAttributes(MBeanServerConnection server) throws Exception(Code)



testGetDefaultDomain
abstract public void testGetDefaultDomain() throws Exception(Code)



testGetDefaultDomain
protected void testGetDefaultDomain(MBeanServerConnection server, String domain) throws Exception(Code)



testGetDomains
abstract public void testGetDomains() throws Exception(Code)



testGetDomains
protected void testGetDomains(MBeanServerConnection server) throws Exception(Code)



testGetMBeanCount
abstract public void testGetMBeanCount() throws Exception(Code)



testGetMBeanCount
protected void testGetMBeanCount(MBeanServerConnection server) throws Exception(Code)



testGetMBeanInfo
abstract public void testGetMBeanInfo() throws Exception(Code)



testGetMBeanInfo
protected void testGetMBeanInfo(MBeanServerConnection server) throws Exception(Code)



testGetObjectInstance
abstract public void testGetObjectInstance() throws Exception(Code)



testGetObjectInstance
protected void testGetObjectInstance(MBeanServerConnection server) throws Exception(Code)



testInvoke
abstract public void testInvoke() throws Exception(Code)



testInvoke
protected void testInvoke(MBeanServerConnection server) throws Exception(Code)



testIsInstanceOf
abstract public void testIsInstanceOf() throws Exception(Code)



testIsInstanceOf
protected void testIsInstanceOf(MBeanServerConnection server) throws Exception(Code)



testIsRegistered
abstract public void testIsRegistered() throws Exception(Code)



testIsRegistered
protected void testIsRegistered(MBeanServerConnection server) throws Exception(Code)



testQueryMBeans
abstract public void testQueryMBeans() throws Exception(Code)



testQueryMBeans
protected void testQueryMBeans(MBeanServerConnection server) throws Exception(Code)



testQueryNames
abstract public void testQueryNames() throws Exception(Code)



testQueryNames
protected void testQueryNames(MBeanServerConnection server) throws Exception(Code)



testSetAttribute
abstract public void testSetAttribute() throws Exception(Code)



testSetAttribute
protected void testSetAttribute(MBeanServerConnection server) throws Exception(Code)



testSetAttributes
abstract public void testSetAttributes() throws Exception(Code)



testSetAttributes
protected void testSetAttributes(MBeanServerConnection server) throws Exception(Code)



testUnregisterMBean
abstract public void testUnregisterMBean() throws Exception(Code)



testUnregisterMBean
protected void testUnregisterMBean(MBeanServerConnection server) throws Exception(Code)



Methods inherited from test.MX4JTestCase
protected ClassLoader createJMXRIClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createJMXRIWithMX4JImplClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createJMXRIWithTestsClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createMX4JClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createMX4JWithTestsClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createOptionalRemoteJMXRIWithTestsClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createRemoteJMXRIWithTestsClassLoader() throws MalformedURLException(Code)(Java Doc)
protected ClassLoader createRemoteMX4JWithTestsClassLoader() throws MalformedURLException(Code)(Java Doc)
protected MBeanServer newMBeanServer()(Code)(Java Doc)
protected void sleep(long time)(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.