dlr 01/06/20 01:44:32
Modified: src/java/org/apache/turbine/services BaseServiceBroker.java
Log:
Removed references of now non-existant Initable.
Revision Changes Path
1.35 +5 -5
jakarta-turbine/src/java/org/apache/turbine/services/BaseServiceBroker.java
Index: BaseServiceBroker.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/BaseServiceBroker.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- BaseServiceBroker.java 2001/06/20 08:37:26 1.34
+++ BaseServiceBroker.java 2001/06/20 08:44:29 1.35
@@ -96,7 +96,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rafal Krzewski</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: BaseServiceBroker.java,v 1.34 2001/06/20 08:37:26 dlr Exp $
+ * @version $Id: BaseServiceBroker.java,v 1.35 2001/06/20 08:44:29 dlr Exp $
*/
public abstract class BaseServiceBroker implements ServiceBroker
{
@@ -607,7 +607,7 @@
// This exception will be caught & rethrown by this
// very method. getInit() returning false indicates
// some initialization issue, which in turn prevents
- // the InitableBroker from passing a reference to a
+ // the ServiceBroker from passing a reference to a
// working instance of the initable to the client.
throw new InitializationException(
"init() failed to initialize service " + name);
@@ -628,8 +628,8 @@
* Early initialization of a Service can require access to Service
* properties. The Service must have its name and serviceBroker
* set by then. Therefore, before calling
- * Initable.initClass(Object), the class must be instantiated with
- * InitableBroker.getInitableInstance(), and
+ * Service.initClass(Object), the class must be instantiated with
+ * ServiceBroker.getServiceInstance(), and
* Service.setServiceBroker() and Service.setName() must be
* called. This calls for two - level accesing the Services
* instances.
@@ -689,7 +689,7 @@
else if (t instanceof ClassCastException)
{
msg = "Class " + className +
- " doesn't implement Initable.";
+ " doesn't implement the Service interface.";
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]