コード例 #1
0
 public synchronized List<AuthorityType> getAuthorityTypes(
     String[] fetchGroups, int maxFetchDepth, ProgressMonitor monitor) {
   try {
     securityManager = getEjbProvider().getRemoteBean(JFireSecurityManagerRemote.class);
     Set<AuthorityTypeID> authorityTypeIDs = securityManager.getAuthorityTypeIDs();
     return getJDOObjects(null, authorityTypeIDs, fetchGroups, maxFetchDepth, monitor);
   } catch (RuntimeException x) {
     throw x;
   } catch (Exception x) {
     throw new RuntimeException(x);
   } finally {
     securityManager = null;
   }
 }