Skip to content

Commit

Permalink
Deprecated extensions for future removal
Browse files Browse the repository at this point in the history
Deprecated GAE, GWT, OSGi and RDF extensions for removal in next major release.
  • Loading branch information
jlouvel committed Oct 28, 2024
1 parent 37d5d73 commit 42d09a7
Show file tree
Hide file tree
Showing 57 changed files with 109 additions and 9 deletions.
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Changes log
- Removed incubator to rely instead on pull requests.
- Renamed extension Inject into Guice as it isn't truly generic.
- Updated the links in all Javadocs file for accuracy.
- Deprecated GAE, GWT, OSGi and RDF extensions for removal in next major release.

- 2.5 Milestone 1 (03/09/2020)
- Bugs fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
* UserService.
*
* @author Matt Kennedy
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class GaeAuthenticator extends Authenticator {
/**
* The GAE UserService that provides facilities to check whether a user has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* {@link ClientInfo} if the GAE API reports that the user is an administrator.
*
* @author Matt Kennedy
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class GaeEnroler implements Enroler {

/** The Administrator role. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
@since Restlet 2.1
@see <a href="@home-uri@">Google App Engine</a>
@see <a href="http://restlet.org/learn/guide/2.2/extensions/gae">User Guide - GAE extension</a>
@deprecated Will be removed in next major release.
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
* serialization format.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class GwtConverter extends ConverterHelper {

/** GWT variant. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
* @author Jerome Louvel
* @param <T>
* The class to serialize.
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class ObjectRepresentation<T> extends StringRepresentation {

/** The wrapped object. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* fields.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class SimpleSerializationPolicy extends SerializationPolicy {

private static final SimpleSerializationPolicy instance = new SimpleSerializationPolicy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* {@link SimpleSerializationPolicy} default instance all the time.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class SimpleSerializationPolicyProvider implements
SerializationPolicyProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<HTML>
<BODY>
Server-side integration with GWT @minor-version@.
Server-side integration with GWT.

@since Restlet 1.1
@see <a href="@home-uri@">Google Web Toolkit</a>
@see <a href="http://restlet.org/learn/guide/2.2/extensions/gwt">User Guide - GWT extension</a>
@deprecated Will be removed in next major release.
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
*
* @author Bryan Hunt
* @author Wolfgang Werner
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface ApplicationProvider {
/**
* The key constant that may be used to look up the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
* </p>
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class BaseApplicationProvider implements ApplicationProvider {
private String alias;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@
* </p>
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class BaseDirectoryProvider extends BaseRestletProvider implements
DirectoryProvider {
private boolean deeplyAccessible = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
* </p>
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public abstract class BaseFilterProvider extends BaseRestletProvider implements
FilterProvider {
private Filter filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@
* </p>
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public abstract class BaseResourceProvider extends BaseRestletProvider
implements ResourceProvider {
private Finder finder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
* but instead extend an appropriate base provider.
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public abstract class BaseRestletProvider implements RestletProvider {
private FilterProvider filterProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
* </p>
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class BaseRouterProvider extends BaseRestletProvider implements
RouterProvider {
private RestletProvider defaultRestletProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* implementation of {@link DirectoryProvider}.
*
* @author Bryan Hunt
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface DirectoryProvider extends RestletProvider {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
*
* @author Bryan Hunt
* @author Wolfgang Werner
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class DynamicFinder extends Finder {
private Bundle bundle;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* {@link FilterProvider} if you need complete control.
*
* @author Bryan Hunt
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface FilterProvider extends RestletProvider {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
* Connector to the resources accessed via bundles.
*
* @author Thierry Boileau
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class ObapClientHelper extends LocalClientHelper {

/** Map of registered bundles. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
*
* @author Bryan Hunt
* @author Wolfgang Werner
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface ResourceProvider extends RestletProvider {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* specialized provider interfaces.
*
* @author Bryan Hunt
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface RestletProvider {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* implementation of {@link RouterProvider}.
*
* @author Bryan Hunt
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public interface RouterProvider extends RestletProvider {
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
*
* @author Thierry Boileau
* @See {@link ObapClientHelper}
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Activator implements BundleActivator {

private static Logger logger = Logger.getLogger("org.restlet.ext.osgi");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
@author Bryan Hunt
@see <a href="@home-uri@">OSGi Web site</a>
@see <a href="http://restlet.org/learn/guide/2.2/extensions/osgi">User Guide - OSGi extension</a>
@deprecated Will be removed in next major release.
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* The first object's type.
* @param <U>
* The second object's type.
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Couple<T, U> {

/** The first object. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
* model.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Graph extends CopyOnWriteArraySet<Link> {

/** The serialization unique identifier. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
/**
* Graph handler used when parsing an RDF representation. It completes the inner
* set of links with all detected ones.
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class GraphBuilder extends GraphHandler {

/** The inner graph of links. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
/**
* Handler for the content of a {@link Graph}. List of callbacks used when
* parsing or writing a representation of a RDF graph.
* @deprecated Will be removed in next major release.
*/
@Deprecated
public abstract class GraphHandler {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
*
* @author Jerome Louvel
* @see <a href="http://www.w3.org/TR/rdf-concepts/">RDF concepts</a>
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Link {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* @author Jerome Louvel
* @see <a href="http://www.w3.org/TR/rdf-concepts/#section-Graph-Literal">RDF
* literals</a>
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Literal {

/** The optional datatype reference. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
* navigate the Web of data.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class RdfClientResource extends ClientResource {

/** The links cache. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* Converter between the Graph and RDF Representation classes.
*
* @author Thierry Boileau
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class RdfConverter extends ConverterHelper {

private static final VariantInfo VARIANT_RDF_N3 = new VariantInfo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
* deserialize a {@link Graph}.
*
* @author Jerome Louvel
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class RdfRepresentation extends WriterRepresentation {

/** The inner graph of links. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* The second object's type.
* @param <V>
* The third object's type.
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class Triple<T, U, V> {

/** The first object. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
* Constants related to RDF documents.
*
* @author Thierry Boileau
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class RdfConstants {

/** List "first". */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
/**
* Super class of all RDF readers.
*
* @deprecated Will be removed in next major release.
*/
@Deprecated
public abstract class RdfReader {
/** The graph handler invoked when parsing. */
private GraphHandler graphHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* feature is not supported yet.
*
* @author Thierry Boileau
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class FormulaToken extends LexicalUnit {

public FormulaToken(RdfN3Reader contentHandler, Context context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
* Handler of RDF content according to the N3 notation.
*
* @author Thierry Boileau
* @deprecated Will be removed in next major release.
*/
@Deprecated
public class RdfN3Reader extends RdfTurtleReader {

/**
Expand Down
Loading

0 comments on commit 42d09a7

Please sign in to comment.