Skip to content

SPR-16282 Deprecate classes removed in 5 #1620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* @see org.springframework.beans.factory.BeanFactory
* @see org.springframework.context.access.DefaultLocatorFactory
* @see org.springframework.context.ApplicationContext
* @deprecated removed in 5
*/
public interface BeanFactoryLocator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @author Colin Sampaleanu
* @see BeanFactoryLocator
* @see org.springframework.context.access.ContextBeanFactoryReference
* @deprecated removed in 5
*/
public interface BeanFactoryReference {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*
* @author Rod Johnson
* @since 02.12.2002
* @deprecated removed in 5
*/
@SuppressWarnings("serial")
public class BootstrapException extends FatalBeanException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
* @see org.springframework.context.access.ContextSingletonBeanFactoryLocator
* @see org.springframework.context.access.DefaultLocatorFactory
*/
@Deprecated
public class SingletonBeanFactoryLocator implements BeanFactoryLocator {

private static final String DEFAULT_RESOURCE_LOCATION = "classpath*:beanRefFactory.xml";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @author Juergen Hoeller
* @since 2.5.2
*/
@Deprecated
public class SimpleSpringBeanELResolver extends SpringBeanELResolver {

private final BeanFactory beanFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @author Juergen Hoeller
* @since 2.5.2
* @see org.springframework.web.jsf.el.SpringBeanFacesELResolver
* @deprecated removed in 5
*/
public abstract class SpringBeanELResolver extends ELResolver {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* @since 13.02.2004
* @see org.springframework.context.ConfigurableApplicationContext#close
*/
@Deprecated
public class ContextBeanFactoryReference implements BeanFactoryReference {

private ApplicationContext applicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @author Juergen Hoeller
* @see #createBeanFactory
*/
@Deprecated
public class ContextJndiBeanFactoryLocator extends JndiLocatorSupport implements BeanFactoryLocator {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* @see org.springframework.beans.factory.access.SingletonBeanFactoryLocator
* @see org.springframework.context.access.DefaultLocatorFactory
*/
@Deprecated
public class ContextSingletonBeanFactoryLocator extends SingletonBeanFactoryLocator {

private static final String DEFAULT_RESOURCE_LOCATION = "classpath*:beanRefContext.xml";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* @author Colin Sampaleanu
* @see org.springframework.context.access.ContextSingletonBeanFactoryLocator
*/
@Deprecated
public class DefaultLocatorFactory {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
* @see org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
* @see org.springframework.context.access.ContextSingletonBeanFactoryLocator
* @see #getBeanFactoryLocatorKey
* @deprecated removed in 5
*/
public class SpringBeanAutowiringInterceptor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,15 @@ public JdbcTemplate(DataSource dataSource, boolean lazyInit) {
* Useful if native Statement and/or ResultSet handles are expected for casting
* to database-specific implementation classes, but a connection pool that wraps
* JDBC objects is used (note: <i>any</i> pool will return wrapped Connections).
* @deprecated use {@link Wrapper#unwrap(Class)}
*/
public void setNativeJdbcExtractor(NativeJdbcExtractor extractor) {
this.nativeJdbcExtractor = extractor;
}

/**
* Return the current NativeJdbcExtractor implementation.
* @deprecated use {@link Wrapper#unwrap(Class)}
*/
public NativeJdbcExtractor getNativeJdbcExtractor() {
return this.nativeJdbcExtractor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* @see com.mchange.v2.c3p0.C3P0ProxyConnection#rawConnectionOperation
* @see SimpleNativeJdbcExtractor
*/
@Deprecated
public class C3P0NativeJdbcExtractor extends NativeJdbcExtractorAdapter {

private final Method getRawConnectionMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @see org.jboss.resource.adapter.jdbc.WrappedStatement#getUnderlyingStatement
* @see org.jboss.resource.adapter.jdbc.WrappedResultSet#getUnderlyingResultSet
*/
@Deprecated
public class JBossNativeJdbcExtractor extends NativeJdbcExtractorAdapter {

// JBoss 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
* @see org.springframework.jdbc.core.JdbcTemplate#setNativeJdbcExtractor
* @see org.springframework.jdbc.support.lob.OracleLobHandler#setNativeJdbcExtractor
*/
@Deprecated
public class Jdbc4NativeJdbcExtractor extends NativeJdbcExtractorAdapter {

private Class<? extends Connection> connectionType = Connection.class;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
* @see CommonsDbcpNativeJdbcExtractor
* @see org.springframework.jdbc.core.JdbcTemplate#setNativeJdbcExtractor
* @see org.springframework.jdbc.support.lob.OracleLobHandler#setNativeJdbcExtractor
* @deprecated use {@link Wrapper#unwrap(Class)}
*/
public interface NativeJdbcExtractor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
* @see #getNativeConnectionFromStatement
* @see org.springframework.jdbc.datasource.ConnectionProxy
*/
@Deprecated
public abstract class NativeJdbcExtractorAdapter implements NativeJdbcExtractor {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* @author Juergen Hoeller
* @since 3.0.5
*/
@Deprecated
public class OracleJdbc4NativeJdbcExtractor extends Jdbc4NativeJdbcExtractor {

@SuppressWarnings("unchecked")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
* @see org.springframework.jdbc.core.JdbcTemplate#setNativeJdbcExtractor
* @see org.springframework.jdbc.support.lob.OracleLobHandler#setNativeJdbcExtractor
*/
@Deprecated
public class SimpleNativeJdbcExtractor extends NativeJdbcExtractorAdapter {

private boolean nativeConnectionNecessaryForNativeStatements = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* @see #getNativeConnection
* @see weblogic.jdbc.extensions.WLConnection#getVendorConnection
*/
@Deprecated
public class WebLogicNativeJdbcExtractor extends NativeJdbcExtractorAdapter {

private static final String JDBC_EXTENSION_NAME = "weblogic.jdbc.extensions.WLConnection";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* @author Juergen Hoeller
* @since 1.1
*/
@Deprecated
public class WebSphereNativeJdbcExtractor extends NativeJdbcExtractorAdapter {

private static final String JDBC_ADAPTER_CONNECTION_NAME = "com.ibm.ws.rsadapter.jdbc.WSJdbcConnection";
Expand Down