org.activemq.spring
Class ActiveMQDtdResolver

java.lang.Object
  extended by 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$

Field Summary
protected  Log logger
           
 
Constructor Summary
ActiveMQDtdResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Constructor Detail

ActiveMQDtdResolver

public ActiveMQDtdResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
IOException


Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.