You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/08/04 06:29:24 UTC
cvs commit: jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt XSLTProcessorImpl.java
donaldp 2002/08/03 21:29:23
Modified: xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt
XSLTProcessorImpl.java
Log:
Made class Serviceable rather than Composable
Revision Changes Path
1.15 +8 -5 jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt/XSLTProcessorImpl.java
Index: XSLTProcessorImpl.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt/XSLTProcessorImpl.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XSLTProcessorImpl.java 10 Jul 2002 09:50:03 -0000 1.14
+++ XSLTProcessorImpl.java 4 Aug 2002 04:29:23 -0000 1.15
@@ -33,6 +33,9 @@
import org.apache.avalon.framework.parameters.ParameterException;
import org.apache.avalon.framework.parameters.Parameterizable;
import org.apache.avalon.framework.parameters.Parameters;
+import org.apache.avalon.framework.service.Serviceable;
+import org.apache.avalon.framework.service.ServiceException;
+import org.apache.avalon.framework.service.ServiceManager;
import org.apache.excalibur.source.Source;
import org.apache.excalibur.source.SourceException;
import org.apache.excalibur.source.SourceResolver;
@@ -69,7 +72,7 @@
public final class XSLTProcessorImpl
extends AbstractLogEnabled
implements XSLTProcessor,
- Composable,
+ Serviceable,
Disposable,
Parameterizable,
URIResolver
@@ -100,14 +103,14 @@
/**
* Compose. Try to get the store
*/
- public void compose( final ComponentManager manager )
- throws ComponentException
+ public void service( final ServiceManager manager )
+ throws ServiceException
{
m_xmlizer = (XMLizer)manager.lookup( XMLizer.ROLE );
m_errorHandler = new TraxErrorHandler( getLogger() );
m_resolver = (SourceResolver)manager.lookup( SourceResolver.ROLE );
- if( manager.hasComponent( Store.TRANSIENT_STORE ) )
+ if( manager.hasService( Store.TRANSIENT_STORE ) )
{
m_store = (Store)manager.lookup( Store.TRANSIENT_STORE );
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>