// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.xml.providers;
import com.yahoo.container.di.componentgraph.Provider;
import javax.xml.transform.TransformerFactory;
/**
* @author Einar M R Rosenvinge
* @since 5.1.29
* @deprecated Do not use!
*/
@Deprecated
public class TransformerFactoryProvider implements Provider {
public static final String FACTORY_CLASS = "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl";
@Override
public TransformerFactory get() {
return TransformerFactory.newInstance(FACTORY_CLASS,
this.getClass().getClassLoader());
}
@Override
public void deconstruct() { }
}