|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.delivery.ContentDeliveryUnitCreatorFactory
ContentDeliveryUnitCreator Factory class.
CreatesContentDeliveryUnitCreator implementations based on the file
extension of the <cdres> element "path" attribute in the definition defined in the
in the .cdrl files (see CDRConfig and
CDRDef).
The ContentDeliveryUnitCreator
instances are instanciated using the Spring IoC Container with the bean id attribute values mapping to the
file extension as outlined above. The Spring bean definitions file is called "deliveryunit-config.xml" and
is loaded from "/deliveryunit-config.xml" through the ContainerResourceLocator implementation
for the container in which Smooks is running e.g. ServletResourceLocator in the Servlet
container.
| Constructor Summary | |
ContentDeliveryUnitCreatorFactory(ContainerResourceLocator resourceLocator)
Public constructor. |
|
| Method Summary | |
ContentDeliveryUnitCreator |
getInstance(java.lang.String type)
Get Instance factory method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentDeliveryUnitCreatorFactory(ContainerResourceLocator resourceLocator)
resourceLocator - Container resource locator| Method Detail |
public ContentDeliveryUnitCreator getInstance(java.lang.String type)
throws UnsupportedContentDeliveryUnitTypeException
type - TransUnit type (e.g. java, xsl).
UnsupportedContentDeliveryUnitTypeException
|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||