org.codehaus.activemq.jca.impl
Class JCABeanDefinitionReader

java.lang.Object
  extended byorg.springframework.beans.factory.support.AbstractBeanDefinitionReader
      extended byorg.springframework.beans.factory.xml.XmlBeanDefinitionReader
          extended byorg.codehaus.activemq.jca.impl.JCABeanDefinitionReader
All Implemented Interfaces:
org.springframework.beans.factory.support.BeanDefinitionReader

public class JCABeanDefinitionReader
extends org.springframework.beans.factory.xml.XmlBeanDefinitionReader

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
logger
 
Constructor Summary
JCABeanDefinitionReader(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry)
           
 
Method Summary
protected  EntityResolver createEntityResolver()
           
static Transformer createTransformer(Source source)
           
protected  Source createXslSource()
          Creates the XSL resource for the transformation
protected  org.springframework.core.io.ClassPathResource getXslResource()
           
 int registerBeanDefinitions(Document document, org.springframework.core.io.Resource resource)
           
protected  Document transformDocument(Document document)
          A hook to transform the source document into a default Spring XML configuration
 
Methods inherited from class org.springframework.beans.factory.xml.XmlBeanDefinitionReader
createDocumentBuilder, createDocumentBuilderFactory, loadBeanDefinitions, setEntityResolver, setErrorHandler, setNamespaceAware, setParserClass, setValidating
 
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinitionReader
getBeanClassLoader, getBeanFactory, getResourceLoader, loadBeanDefinitions, loadBeanDefinitions, setBeanClassLoader, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCABeanDefinitionReader

public JCABeanDefinitionReader(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry)
Method Detail

registerBeanDefinitions

public int registerBeanDefinitions(Document document,
                                   org.springframework.core.io.Resource resource)
                            throws org.springframework.beans.BeansException
Throws:
org.springframework.beans.BeansException

createTransformer

public static Transformer createTransformer(Source source)
                                     throws TransformerConfigurationException
Throws:
TransformerConfigurationException

transformDocument

protected Document transformDocument(Document document)
                              throws IOException,
                                     TransformerException
A hook to transform the source document into a default Spring XML configuration

Parameters:
document -
Returns:
Throws:
IOException
TransformerException

createXslSource

protected Source createXslSource()
                          throws IOException
Creates the XSL resource for the transformation

Returns:
Throws:
IOException

getXslResource

protected org.springframework.core.io.ClassPathResource getXslResource()

createEntityResolver

protected EntityResolver createEntityResolver()


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