[Yanel-commits] rev 34885 - public/yanel/trunk/src/core/java/org/wyona/yanel/core

michi at wyona.com michi at wyona.com
Sun Apr 6 11:54:51 CEST 2008


Author: michi
Date: 2008-04-06 11:54:50 +0200 (Sun, 06 Apr 2008)
New Revision: 34885

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
Log:
formatting and javadoc added

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2008-04-06 09:53:16 UTC (rev 34884)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2008-04-06 09:54:50 UTC (rev 34885)
@@ -51,11 +51,13 @@
     /**
      * Creates a new resource object in the given realm with the given path and the given type.
      *
+     * @param environment Environment which for example contains request and response
+     * @param realm Realm where resource is living
      * @param path Path relative to realm (e.g. yanel.getMap().getPath(realm, request.getServletPath()))
+     * @param rtd Resource type definition
+     * @param rti Resource type identifier (deprecated and contains redudant information to resource type definition. What about properties?)
      */
-    public Resource getResource(Environment environment, Realm realm, String path, 
-            ResourceTypeDefinition rtd, ResourceTypeIdentifier rti) 
-    throws Exception {
+    public Resource getResource(Environment environment, Realm realm, String path, ResourceTypeDefinition rtd, ResourceTypeIdentifier rti) throws Exception {
         String universalName = rtd.getResourceTypeUniversalName();
         if (rtd != null) {
             Resource resource = (Resource) Class.forName(rtd.getResourceTypeClassname()).newInstance();



More information about the Yanel-commits mailing list