You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/08/27 22:15:42 UTC
cvs commit: jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum TurbineServices.java
dlr 01/08/27 13:15:42
Modified: src/core/java/org/apache/fulcrum TurbineServices.java
Log:
getInstance() class method now returns the singleton as a
ServiceManager instead of a ServiceBroker. This allows for easier
access to ServiceManager methods (such as getConfiguration()).
Revision Changes Path
1.3 +3 -3 jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum/TurbineServices.java
Index: TurbineServices.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum/TurbineServices.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- TurbineServices.java 2001/08/10 11:46:22 1.2
+++ TurbineServices.java 2001/08/27 20:15:42 1.3
@@ -63,7 +63,7 @@
* @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a>
* @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
- * @version $Id: TurbineServices.java,v 1.2 2001/08/10 11:46:22 knielsen Exp $
+ * @version $Id: TurbineServices.java,v 1.3 2001/08/27 20:15:42 dlr Exp $
*/
public class TurbineServices
extends BaseServiceBroker
@@ -86,9 +86,9 @@
*
* @return The single instance of this class.
*/
- public static ServiceBroker getInstance()
+ public static ServiceManager getInstance()
{
- return (ServiceBroker) instance;
+ return instance;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org