geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v...@apache.org
Subject svn commit: r661468 - in /geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring: MasterRemoteControlLocal.java MasterRemoteControlRemote.java
Date Thu, 29 May 2008 20:34:52 GMT
Author: viet
Date: Thu May 29 13:34:52 2008
New Revision: 661468

URL: http://svn.apache.org/viewvc?rev=661468&view=rev
Log:
Get rid of unneccesary annotations in MRC interfaces.

Modified:
    geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlLocal.java
    geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlRemote.java

Modified: geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlLocal.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlLocal.java?rev=661468&r1=661467&r2=661468&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlLocal.java
(original)
+++ geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlLocal.java
Thu May 29 13:34:52 2008
@@ -32,48 +32,26 @@
  */
 @Local
 public interface MasterRemoteControlLocal {
-    @RolesAllowed("mejbuser")
     public HashMap<String, Long> getStats(String s) throws Exception;
-    @RolesAllowed("mejbadmin")
     public void setAttribute(String s, String ss, Object o) throws Exception;
-    @RolesAllowed("mejbuser")
     public boolean startSnapshot(Long l);
-    @RolesAllowed("mejbuser")
     public boolean stopSnapshot();
-    @RolesAllowed("mejbuser")
     public ArrayList<HashMap<String, HashMap<String, Object>>> fetchSnapshotData(Integer
i, Integer ii);
-    @RolesAllowed("mejbuser")
     public HashMap<String, HashMap<String, Long>> fetchMaxSnapshotData(Integer
i);
-    @RolesAllowed("mejbuser")
     public HashMap<String, HashMap<String, Long>> fetchMinSnapshotData(Integer
i);
-    @RolesAllowed("mejbuser")
     public Long getSnapshotDuration();
-    @RolesAllowed("mejbuser")
     public Long getSnapshotCount();
-    @RolesAllowed("mejbuser")
     public void setSnapshotDuration(Long l);
-    @RolesAllowed("mejbuser")
     public Set<String> getStatisticsProviderMBeanNames();
-    @RolesAllowed("mejbuser")
     public Set<String> getAllMBeanNames();
-    @RolesAllowed("mejbuser")
     public HashMap<String, ArrayList<String>> getAllSnapshotStatAttributes();
-    @RolesAllowed("mejbuser")
     public boolean addMBeanForSnapshot(String s);
-    @RolesAllowed("mejbuser")
     public boolean removeMBeanForSnapshot(String s);
-    @RolesAllowed("mejbuser")
     public boolean isSnapshotRunning();
-    @RolesAllowed("mejbuser")
     public void setUpMEJB(String username, String password);
-    @RolesAllowed("mejbadmin")
     public Object invoke(ObjectName name, String operationName, Object[] params, String[]
signature);
-    @RolesAllowed("mejbuser")
     public TreeMap<Long, Long> getSpecificStatistics(String mbeanName, String statsName,
int numberOfSnapshots, int everyNthSnapshot, boolean showArchive);
-    @RolesAllowed("mejbuser")
     public Set<String> getTrackedMBeans();
-    @RolesAllowed("mejbuser")
     public void setSnapshotRetention(int retention);
-    @RolesAllowed("mejbuser")
     public String getSnapshotRetention();
 }

Modified: geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlRemote.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlRemote.java?rev=661468&r1=661467&r2=661468&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlRemote.java
(original)
+++ geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControlRemote.java
Thu May 29 13:34:52 2008
@@ -32,48 +32,26 @@
  */
 @Remote
 public interface MasterRemoteControlRemote {
-    @RolesAllowed("mejbuser")
     public HashMap<String, Long> getStats(String s) throws Exception;
-    @RolesAllowed("mejbadmin")
     public void setAttribute(String s, String ss, Object o) throws Exception;
-    @RolesAllowed("mejbuser")
     public boolean startSnapshot(Long l);
-    @RolesAllowed("mejbuser")
     public boolean stopSnapshot();
-    @RolesAllowed("mejbuser")
     public ArrayList<HashMap<String, HashMap<String, Object>>> fetchSnapshotData(Integer
i, Integer ii);
-    @RolesAllowed("mejbuser")
     public HashMap<String, HashMap<String, Long>> fetchMaxSnapshotData(Integer
i);
-    @RolesAllowed("mejbuser")
     public HashMap<String, HashMap<String, Long>> fetchMinSnapshotData(Integer
i);
-    @RolesAllowed("mejbuser")
     public Long getSnapshotDuration();
-    @RolesAllowed("mejbuser")
     public Long getSnapshotCount();
-    @RolesAllowed("mejbuser")
     public void setSnapshotDuration(Long l);
-    @RolesAllowed("mejbuser")
     public Set<String> getStatisticsProviderMBeanNames();
-    @RolesAllowed("mejbuser")
     public Set<String> getAllMBeanNames();
-    @RolesAllowed("mejbuser")
     public HashMap<String, ArrayList<String>> getAllSnapshotStatAttributes();
-    @RolesAllowed("mejbuser")
     public boolean addMBeanForSnapshot(String s);
-    @RolesAllowed("mejbuser")
     public boolean removeMBeanForSnapshot(String s);
-    @RolesAllowed("mejbuser")
     public boolean isSnapshotRunning();
-    @RolesAllowed("mejbuser")
     public void setUpMEJB(String username, String password);
-    @RolesAllowed("mejbadmin")
     public Object invoke(ObjectName name, String operationName, Object[] params, String[]
signature);
-    @RolesAllowed("mejbuser")
     public TreeMap<Long, Long> getSpecificStatistics(String mbeanName, String statsName,
int numberOfSnapshots, int everyNthSnapshot, boolean showArchive);
-    @RolesAllowed("mejbuser")
     public Set<String> getTrackedMBeans();
-    @RolesAllowed("mejbuser")
     public void setSnapshotRetention(int retention);
-    @RolesAllowed("mejbuser")
     public String getSnapshotRetention();
 }



Mime
View raw message