You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Viet Hung Nguyen (JIRA)" <ji...@apache.org> on 2008/01/09 00:20:34 UTC
[jira] Resolved: (GERONIMO-3739) SnapshotDBHelper in the monitoring
agent should not have static methods
[ https://issues.apache.org/jira/browse/GERONIMO-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viet Hung Nguyen resolved GERONIMO-3739.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.1
> SnapshotDBHelper in the monitoring agent should not have static methods
> -----------------------------------------------------------------------
>
> Key: GERONIMO-3739
> URL: https://issues.apache.org/jira/browse/GERONIMO-3739
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1
> Environment: windows
> Reporter: Viet Hung Nguyen
> Assignee: Viet Hung Nguyen
> Fix For: 2.1
>
> Attachments: geronimo.patch
>
>
> The SnapshotDBHelper in the monitoring agent is a utility class right now. Other pieces of code can just use it by statically accessing its methods. However, this is a dangerous practice if the DataSources are not set properly before using it. So I suggest to force other pieces of code to instantiate the SnapshotDBHelper object first before using it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.