[nanocontainer-scm] [jira] Closed: (NANO-122) StandardMBeanCA does return an incompatible object
jira-yCVjj/[email protected] Fri, 11 Feb 2005 06:39:02 -0500 (EST)
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Message:
The following issue has been closed.
Resolver: Joerg Schaible
Date: Fri, 11 Feb 2005 6:38 AM
Dropped StandardMBeanCA completly. Proxy functionality refactored into AssimilatingCA in proxytoys.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/NANO-122
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-122
Summary: StandardMBeanCA does return an incompatible object
Type: Bug
Status: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Components:
jmx
Fix Fors:
1.0-beta-5
Versions:
1.0-beta-4
Assignee: Joerg Schaible
Reporter: Joerg Schaible
Created: Thu, 10 Feb 2005 4:42 AM
Updated: Fri, 11 Feb 2005 6:38 AM
Description:
The StandardMBeanCA returns a component that is a StandardMBean, but does not implement the management interface. This prevents exposed components to be used as normal components in the application.
See:
public void testDefaultComponentAdapterFunctionality() throws Exception {
WilmaImpl wilma = new WilmaImpl();
ComponentAdapter componentAdapter = new StandardMBeanComponentAdapter(wilma, Wilma.class);
picoContainer.registerComponent(componentAdapter);
Wilma w = (Wilma)picoContainer.getComponentAdapterOfType(Wilma.class);
assertFalse(wilma.helloCalled());
w.hello();
assertTrue(wilma.helloCalled());
}
The StandardMBeanCA should operate as a delegator for other CAs.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira