test.implementation.util
Class MBeanProxyTEST
java.lang.Object
TestCase
test.implementation.util.MBeanProxyTEST
- public class MBeanProxyTEST
- extends TestCase
Tests for mbean proxy
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanProxyTEST
public MBeanProxyTEST(java.lang.String s)
testGetWithServer
public void testGetWithServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetWithAgentID
public void testGetWithAgentID()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithServer
public void testCreateWithServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithAgentID
public void testCreateWithAgentID()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProxyInvocations
public void testProxyInvocations()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProxyInvocationWithConflictingMBeanAndContextMethods
public void testProxyInvocationWithConflictingMBeanAndContextMethods()
throws java.lang.Exception
- Throws:
java.lang.Exception
testContextAccess
public void testContextAccess()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProxyInvocationBetweenServers
public void testProxyInvocationBetweenServers()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimultaneousTypedAndDetypedInvocations
public void testSimultaneousTypedAndDetypedInvocations()
throws java.lang.Exception
- Throws:
java.lang.Exception
testContextAccessToMBeanServer
public void testContextAccessToMBeanServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArbitraryInterfaceWithProxy
public void testArbitraryInterfaceWithProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomExceptionHandler
public void testCustomExceptionHandler()
throws java.lang.Exception
- This test shows how to override the default exception handling for
proxy invocations. The default handling for exceptions that are not
declared as part of the proxy typed interface (such as InstanceNotFound
or AttributeNotFound exceptions) are rethrown as unchecked
RuntimeProxyExceptions. See org.jboss.mx.proxy.DefaultExceptionHandler
for details. This behavior can be changed at runtime through the proxy
context interface setExceptionHandler() method.
- Throws:
java.lang.Exception
testObjectToStringOnProxy
public void testObjectToStringOnProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectToStringOverride
public void testObjectToStringOverride()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectHashCodeOnProxy
public void testObjectHashCodeOnProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectHashCodeOverride
public void testObjectHashCodeOverride()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectEqualsOnProxy
public void testObjectEqualsOnProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectEqualsOverride
public void testObjectEqualsOverride()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributeNotFoundOnTypedProxy
public void testAttributeNotFoundOnTypedProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributeNotFoundOnDeTypedProxy
public void testAttributeNotFoundOnDeTypedProxy()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInheritanceInTypedProxyArgs
public void testInheritanceInTypedProxyArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInheritanceInProxyAttribute
public void testInheritanceInProxyAttribute()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInheritanceInProxyReturnType
public void testInheritanceInProxyReturnType()
throws java.lang.Exception
- Throws:
java.lang.Exception