You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/12 07:12:32 UTC

[jira] Updated: (MODELER-1) ClassNotFoundException while using the Notification

     [ http://issues.apache.org/jira/browse/MODELER-1?page=all ]

Henri Yandell updated MODELER-1:
--------------------------------

    Bugzilla Id:   (was: 11814)
    Fix Version: 1.1

> ClassNotFoundException while using the Notification
> ---------------------------------------------------
>
>          Key: MODELER-1
>          URL: http://issues.apache.org/jira/browse/MODELER-1
>      Project: Commons Modeler
>         Type: Bug

>     Versions: 1.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: Daniel Schmidt
>      Fix For: 1.1

>
> Description:
> ------------
> I get a ClassNotFoundException when I define a Notification in the mbeans-
> descriptors.xml
> Cause:
> ------
> In the Class org.apache.commons.modeler.Registry a Method 
> addNotificationType ( from the class org.apache.commons.modeler.NotificationInfo)will 
> called which not exists. Just a Method addNotifType is 
> existing.
> Code:
> digester.addCallMethod
>             ("mbeans-
> descriptors/mbean/notification/notification-type",
>              "addNotificationType", 
> 0);
> Solution:
> ----------
> I solve the Problem with the following code (Class: 
> NotificationInfo):
> public void addNotificationType(String notifType) 
> {
>     
> addNotifType(notifType);
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org