[HHH-4487] Restore versions of the old public API jbc2 package classes

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17662 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Brian Stansberry 2009-10-08 23:23:42 +00:00
parent 63f4fab3d0
commit c49ef2e2f2
5 changed files with 300 additions and 0 deletions

View File

@ -0,0 +1,69 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009, Red Hat, Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.  All third-party contributions are
* distributed under license by Red Hat, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
package org.hibernate.cache.jbc2;
import java.util.Properties;
import org.hibernate.cache.jbc.CacheInstanceManager;
/**
* Deprecated version of superclass maintained solely for forwards
* compatibility.
*
* @deprecated use {@link org.hibernate.cache.jbc.JBossCacheRegionFactory}
*
* @author Steve Ebersole
* @author Brian Stansberry
*/
@Deprecated
public class JBossCacheRegionFactory extends org.hibernate.cache.jbc.JBossCacheRegionFactory {
/**
* FIXME Per the RegionFactory class Javadoc, this constructor version
* should not be necessary.
*
* @param props The configuration properties
*/
public JBossCacheRegionFactory(Properties props) {
super(props);
}
/**
* Create a new JBossCacheRegionFactory.
*/
public JBossCacheRegionFactory() {
super();
}
/**
* Create a new JBossCacheRegionFactory that uses the provided
* {@link CacheInstanceManager}.
*
* @param cacheInstanceManager The contract for how we get JBC cache instances.
*/
public JBossCacheRegionFactory(CacheInstanceManager cacheInstanceManager) {
super(cacheInstanceManager);
}
}

View File

@ -0,0 +1,58 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009, Red Hat, Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.  All third-party contributions are
* distributed under license by Red Hat, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
package org.hibernate.cache.jbc2;
import java.util.Properties;
/**
* Deprecated version of superclass maintained solely for forwards
* compatibility.
*
* @deprecated use {@link org.hibernate.cache.jbc.JndiMultiplexedJBossCacheRegionFactory}
*
* @author Brian Stansberry
* @version $Revision$
*/
@Deprecated
public class JndiMultiplexedJBossCacheRegionFactory extends org.hibernate.cache.jbc.JndiMultiplexedJBossCacheRegionFactory {
/**
* FIXME Per the RegionFactory class Javadoc, this constructor version
* should not be necessary.
*
* @param props The configuration properties
*/
public JndiMultiplexedJBossCacheRegionFactory(Properties props) {
super(props);
}
/**
* Create a new MultiplexedJBossCacheRegionFactory.
*
*/
public JndiMultiplexedJBossCacheRegionFactory() {
super();
}
}

View File

@ -0,0 +1,58 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009, Red Hat, Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.  All third-party contributions are
* distributed under license by Red Hat, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
package org.hibernate.cache.jbc2;
import java.util.Properties;
/**
* Deprecated version of superclass maintained solely for forwards
* compatibility.
*
* @deprecated use {@link org.hibernate.cache.jbc.JndiSharedJBossCacheRegionFactory}
*
* @author Brian Stansberry
* @version $Revision$
*/
@Deprecated
public class JndiSharedJBossCacheRegionFactory extends org.hibernate.cache.jbc.JndiSharedJBossCacheRegionFactory {
/**
* FIXME Per the RegionFactory class Javadoc, this constructor version
* should not be necessary.
*
* @param props The configuration properties
*/
public JndiSharedJBossCacheRegionFactory(Properties props) {
super(props);
}
/**
* Create a new JndiSharedJBossCacheRegionFactory.
*
*/
public JndiSharedJBossCacheRegionFactory() {
super();
}
}

View File

@ -0,0 +1,57 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009, Red Hat, Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.  All third-party contributions are
* distributed under license by Red Hat, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
package org.hibernate.cache.jbc2;
import java.util.Properties;
/**
* Deprecated version of superclass maintained solely for forwards
* compatibility.
*
* @deprecated use {@link org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory}
*
* @author Brian Stansberry
* @version $Revision$
*/
public class MultiplexedJBossCacheRegionFactory extends org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory {
/**
* FIXME Per the RegionFactory class Javadoc, this constructor version
* should not be necessary.
*
* @param props The configuration properties
*/
public MultiplexedJBossCacheRegionFactory(Properties props) {
super(props);
}
/**
* Create a new MultiplexedJBossCacheRegionFactory.
*
*/
public MultiplexedJBossCacheRegionFactory() {
super();
}
}

View File

@ -0,0 +1,58 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009, Red Hat, Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.  All third-party contributions are
* distributed under license by Red Hat, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
package org.hibernate.cache.jbc2;
import java.util.Properties;
/**
* Deprecated version of superclass maintained solely for forwards
* compatibility.
*
* @deprecated use {@link org.hibernate.cache.jbc.SharedJBossCacheRegionFactory}
*
* @author Brian Stansberry
* @version $Revision$
*/
@Deprecated
public class SharedJBossCacheRegionFactory extends org.hibernate.cache.jbc.SharedJBossCacheRegionFactory {
/**
* FIXME Per the RegionFactory class Javadoc, this constructor version
* should not be necessary.
*
* @param props The configuration properties
*/
public SharedJBossCacheRegionFactory(Properties props) {
super(props);
}
/**
* Create a new SharedJBossCacheRegionFactory.
*
*/
public SharedJBossCacheRegionFactory() {
super();
}
}