pnever 02/05/17 08:47:26
Modified: src/share/org/apache/slide slide.properties
src/share/org/apache/slide/util Configuration.java
Log:
Removed properties:
- standardLivePropertiesClass
- uriRedirectorClass
These are now "global" parameters in the domain.
Revision Changes Path
1.7 +0 -16 jakarta-slide/src/share/org/apache/slide/slide.properties
Index: slide.properties
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/slide.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- slide.properties 14 May 2002 11:35:19 -0000 1.6
+++ slide.properties 17 May 2002 15:47:26 -0000 1.7
@@ -22,22 +22,6 @@
# Default: platform default encoding
#org.apache.slide.urlEncoding=UTF-8
-# Standard live properties "agent". Must be a class containing public static
methods:
-# - boolean isLiveProperty( String propName )
-# - boolean isProtectedProperty( String propName )
-# - boolean isComputedProperty( String propName )
-# - Set getAllLiveProperties()
-# - Set getAllProtectedProperties()
-# - Set getAllComputedProperties()
-# Default: org.apache.slide.webdav.util.resourcekind.AbstractResourceKind
-org.apache.slide.standardLivePropertiesClass=org.apache.slide.webdav.util.resourcekind.AbstractResourceKind
-
-# URI redirector. Must be a class containing public static methods:
-# - String redirectUri( NamespaceAccessToken nsaToken, String uri )
-# - NodeRevisionNumber redirectLatestRevisionNumber( NamespaceAccessToken nsaToken,
String uri )
-# Default: org.apache.slide.webdav.util.DeltavUriRedirector
-org.apache.slide.uriRedirectorClass=org.apache.slide.webdav.util.DeltavUriRedirector
-
# Debug
# Default: false
org.apache.slide.debug=false
1.12 +4 -78 jakarta-slide/src/share/org/apache/slide/util/Configuration.java
Index: Configuration.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/util/Configuration.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Configuration.java 14 May 2002 11:35:19 -0000 1.11
+++ Configuration.java 17 May 2002 15:47:26 -0000 1.12
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/util/Configuration.java,v 1.11
2002/05/14 11:35:19 pnever Exp $
- * $Revision: 1.11 $
- * $Date: 2002/05/14 11:35:19 $
+ * $Header:
/home/cvs/jakarta-slide/src/share/org/apache/slide/util/Configuration.java,v 1.12
2002/05/17 15:47:26 pnever Exp $
+ * $Revision: 1.12 $
+ * $Date: 2002/05/17 15:47:26 $
*
* ====================================================================
*
@@ -92,7 +92,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Keith Visco</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Assaf Arkin</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Remy Maucherat</a>
- * @version $Revision: 1.11 $ $Date: 2002/05/14 11:35:19 $
+ * @version $Revision: 1.12 $ $Date: 2002/05/17 15:47:26 $
*/
public abstract class Configuration {
@@ -157,34 +157,6 @@
/**
- * Property specifying the "agent" knowing about what the standard live
node properties are.
- * It should be a loadable class containing the following static methods:
- * - boolean isLiveProperty( String propName )
- * - boolean isProtectedProperty( String propName )
- * - boolean isComputedProperty( String propName )
- * - Set getAllLiveProperties()
- * - Set getAllProtectedProperties()
- * - Set getAllComputedProperties()
- * <pre>
- * org.apache.slide.standardLivePropertiesClass
- * </pre>
- */
- public static final String StandardLivePropertiesClass =
"org.apache.slide.standardLivePropertiesClass";
-
-
- /**
- * Property specifying the URI redirector.
- * It should be a loadable class containing the following static methods:
- * - String redirectUri( NamespaceAccessToken nsaToken, String uri )
- * - NodeRevisionNumber redirectLatestRevisionNumber( NamespaceAccessToken
nsaToken, String uri )
- * <pre>
- * org.apache.slide.uriRedirectorClass
- * </pre>
- */
- public static final String UriRedirectorClass =
"org.apache.slide.uriRedirectorClass";
-
-
- /**
* Property specifying the encoding for URLs.
* <pre>
* org.apache.slide.urlEncoding
@@ -257,18 +229,6 @@
/**
- * The "agent" knowing about standard live properties.
- */
- private static Class _standardLivePropertiesClass;
-
-
- /**
- * The URI redirector.
- */
- private static Class _uriRedirectorClass;
-
-
- /**
* URL encoding.
*/
private static String _urlEncoding;
@@ -318,22 +278,6 @@
/**
- * Returns "agent" knowing about standard live properties.
- */
- public static Class standardLivePropertiesClass() {
- return _standardLivePropertiesClass;
- }
-
-
- /**
- * Returns URI redirector class.
- */
- public static Class uriRedirectorClass() {
- return _uriRedirectorClass;
- }
-
-
- /**
* Returns the used URL encoding.
*/
public static String urlEncoding() {
@@ -455,24 +399,6 @@
_search = true;
} else {
_search = false;
- }
-
- prop = _default.getProperty(
- Property.StandardLivePropertiesClass,
"org.apache.slide.webdav.util.resourcekind.AbstractResourceKind");
- try {
- _standardLivePropertiesClass = Class.forName( prop );
- }
- catch( ClassNotFoundException x ) {
- Domain.warn( "Class "+prop+" for standard live property definitions not
found" );
- }
-
- prop = _default.getProperty(
- Property.UriRedirectorClass,
"org.apache.slide.webdav.util.DeltavUriRedirector");
- try {
- _uriRedirectorClass = Class.forName( prop );
- }
- catch( ClassNotFoundException x ) {
- Domain.warn( "Class "+prop+" for URI redirection not found" );
}
String defaultEncoding = new
java.io.InputStreamReader(System.in).getEncoding();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>