org.activemq.spring
Class ActiveMQDtdResolver
java.lang.Object
org.activemq.spring.ActiveMQDtdResolver
- All Implemented Interfaces:
- EntityResolver
public class ActiveMQDtdResolver
- extends Object
- implements EntityResolver
EntityResolver implementation for the ActiveMQ DTD,
to load the DTD from the ActiveMQ classpath JAR file.
Fetches "activemq.dtd" from the classpath resource
"/org/activemq/activemq.dtd",
no matter if specified as some local URL or as
"http://activemq.org/dtd/activemq.dtd".
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
ActiveMQDtdResolver
public ActiveMQDtdResolver()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
IOException
Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.