Skip to content

Commit

Permalink
JCR-5021: jackrabbit-jcr-rmi: deprecate RMI support "for removal"
Browse files Browse the repository at this point in the history
JCR-5021: jackrabbit-jcr-rmi: deprecate RMI support "for removal"
  • Loading branch information
reschke committed Jan 19, 2024
2 parents 5262ba9 + 20405ac commit 35549bc
Show file tree
Hide file tree
Showing 159 changed files with 159 additions and 159 deletions.
Expand Up @@ -31,7 +31,7 @@
* whenever any method is invoked. Used as a sentinel object by the
* {@link SafeClientRepository} class.
*/
@Deprecated public class BrokenRemoteRepository implements RemoteRepository {
@Deprecated(forRemoval = true) public class BrokenRemoteRepository implements RemoteRepository {

/**
* The remote exception thrown by methods of this instance.
Expand Down
Expand Up @@ -108,7 +108,7 @@
* easily override or extend the default adapters by implementing the
* corresponding factory methods.
*/
@Deprecated public class ClientAdapterFactory implements LocalAdapterFactory {
@Deprecated(forRemoval = true) public class ClientAdapterFactory implements LocalAdapterFactory {

/**
* Creates and returns a {@link ClientRepository ClientRepository}
Expand Down
Expand Up @@ -42,7 +42,7 @@
* @see javax.jcr.Item
* @see org.apache.jackrabbit.rmi.remote.RemoteItem
*/
@Deprecated public class ClientItem extends ClientObject implements Item {
@Deprecated(forRemoval = true) public class ClientItem extends ClientObject implements Item {

/** Current session. */
private Session session;
Expand Down
Expand Up @@ -39,7 +39,7 @@
* @see javax.jcr.nodetype.ItemDefinition
* @see org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
*/
@Deprecated public class ClientItemDefinition extends ClientObject implements ItemDefinition {
@Deprecated(forRemoval = true) public class ClientItemDefinition extends ClientObject implements ItemDefinition {

/** The adapted remote item definition. */
private RemoteItemDefinition remote;
Expand Down
Expand Up @@ -36,7 +36,7 @@
* @see javax.jcr.lock.Lock
* @see org.apache.jackrabbit.rmi.remote.RemoteLock
*/
@Deprecated public class ClientLock extends ClientObject implements Lock {
@Deprecated(forRemoval = true) public class ClientLock extends ClientObject implements Lock {

/** Current session. */
private Session session;
Expand Down
Expand Up @@ -25,7 +25,7 @@

import org.apache.jackrabbit.rmi.remote.RemoteLockManager;

@Deprecated public class ClientLockManager extends ClientObject implements LockManager {
@Deprecated(forRemoval = true) public class ClientLockManager extends ClientObject implements LockManager {

/** The current session. */
private Session session;
Expand Down
Expand Up @@ -35,7 +35,7 @@
* @see javax.jcr.NamespaceRegistry
* @see org.apache.jackrabbit.rmi.remote.RemoteNamespaceRegistry
*/
@Deprecated public class ClientNamespaceRegistry extends ClientObject implements
@Deprecated(forRemoval = true) public class ClientNamespaceRegistry extends ClientObject implements
NamespaceRegistry {

/** The adapted remote namespace registry. */
Expand Down
Expand Up @@ -53,7 +53,7 @@
* @see javax.jcr.Node
* @see org.apache.jackrabbit.rmi.remote.RemoteNode
*/
@Deprecated public class ClientNode extends ClientItem implements Node {
@Deprecated(forRemoval = true) public class ClientNode extends ClientItem implements Node {

/** The adapted remote node. */
private RemoteNode remote;
Expand Down
Expand Up @@ -35,7 +35,7 @@
* @see javax.jcr.nodetype.NodeDefinition
* @see org.apache.jackrabbit.rmi.remote.RemoteNodeDefinition
*/
@Deprecated public class ClientNodeDefinition extends ClientItemDefinition implements NodeDefinition {
@Deprecated(forRemoval = true) public class ClientNodeDefinition extends ClientItemDefinition implements NodeDefinition {

/** The adapted remote node definition. */
private RemoteNodeDefinition remote;
Expand Down
Expand Up @@ -41,7 +41,7 @@
* @see javax.jcr.nodetype.NodeType
* @see org.apache.jackrabbit.rmi.remote.RemoteNodeType
*/
@Deprecated public class ClientNodeType extends ClientObject implements NodeType {
@Deprecated(forRemoval = true) public class ClientNodeType extends ClientObject implements NodeType {

/** The adapted remote node type. */
private RemoteNodeType remote;
Expand Down
Expand Up @@ -42,7 +42,7 @@
* @see javax.jcr.nodetype.NodeTypeManager
* @see org.apache.jackrabbit.rmi.remote.RemoteNodeTypeManager
*/
@Deprecated public class ClientNodeTypeManager extends ClientObject
@Deprecated(forRemoval = true) public class ClientNodeTypeManager extends ClientObject
implements NodeTypeManager {

/** The adapted remote node type manager. */
Expand Down
Expand Up @@ -36,7 +36,7 @@
* local adapter factory used by the client adapters to
* instantiate new adapters.
*/
@Deprecated public class ClientObject {
@Deprecated(forRemoval = true) public class ClientObject {

/** Local adapter factory. */
private LocalAdapterFactory factory;
Expand Down
Expand Up @@ -49,7 +49,7 @@
*
* @see org.apache.jackrabbit.rmi.observation.ClientEventPoll
*/
@Deprecated public class ClientObservationManager extends ClientObject implements
@Deprecated(forRemoval = true) public class ClientObservationManager extends ClientObject implements
ObservationManager {

/** The remote observation manager */
Expand Down
Expand Up @@ -49,7 +49,7 @@
* @see javax.jcr.Property
* @see org.apache.jackrabbit.rmi.remote.RemoteProperty
*/
@Deprecated public class ClientProperty extends ClientItem implements Property {
@Deprecated(forRemoval = true) public class ClientProperty extends ClientItem implements Property {

/** The adapted remote property. */
private RemoteProperty remote;
Expand Down
Expand Up @@ -34,7 +34,7 @@
* @see javax.jcr.nodetype.PropertyDefinition
* @see org.apache.jackrabbit.rmi.remote.RemotePropertyDefinition
*/
@Deprecated public class ClientPropertyDefinition extends ClientItemDefinition implements PropertyDefinition {
@Deprecated(forRemoval = true) public class ClientPropertyDefinition extends ClientItemDefinition implements PropertyDefinition {

/** The adapted remote property. */
private RemotePropertyDefinition remote;
Expand Down
Expand Up @@ -38,7 +38,7 @@
* @see javax.jcr.query.Query Query
* @see org.apache.jackrabbit.rmi.remote.RemoteQuery
*/
@Deprecated public class ClientQuery extends ClientObject implements Query {
@Deprecated(forRemoval = true) public class ClientQuery extends ClientObject implements Query {

/** The current session */
private Session session;
Expand Down
Expand Up @@ -38,7 +38,7 @@
* @see javax.jcr.query.QueryManager QueryManager
* @see org.apache.jackrabbit.rmi.remote.RemoteQueryManager
*/
@Deprecated public class ClientQueryManager extends ClientObject implements QueryManager {
@Deprecated(forRemoval = true) public class ClientQueryManager extends ClientObject implements QueryManager {

/** The current session */
private Session session;
Expand Down
Expand Up @@ -37,7 +37,7 @@
* @see javax.jcr.query.QueryResult QueryResult
* @see org.apache.jackrabbit.rmi.remote.RemoteQueryResult
*/
@Deprecated public class ClientQueryResult extends ClientObject implements QueryResult {
@Deprecated(forRemoval = true) public class ClientQueryResult extends ClientObject implements QueryResult {

/** The current session */
private Session session;
Expand Down
Expand Up @@ -41,7 +41,7 @@
* @see javax.jcr.Repository
* @see org.apache.jackrabbit.rmi.remote.RemoteRepository
*/
@Deprecated public class ClientRepository implements Repository {
@Deprecated(forRemoval = true) public class ClientRepository implements Repository {

/**
* The set of standard descriptor keys defined in the
Expand Down
Expand Up @@ -39,7 +39,7 @@
*
* @see ClientRepository
*/
@Deprecated public class ClientRepositoryFactory implements ObjectFactory {
@Deprecated(forRemoval = true) public class ClientRepositoryFactory implements ObjectFactory {

/**
* The JNDI parameter name for configuring the RMI URL of
Expand Down
Expand Up @@ -36,7 +36,7 @@
* @see javax.jcr.query.Row Row
* @see org.apache.jackrabbit.rmi.remote.RemoteRow
*/
@Deprecated public class ClientRow extends ClientObject implements Row {
@Deprecated(forRemoval = true) public class ClientRow extends ClientObject implements Row {

/** Current session. */
private Session session;
Expand Down
Expand Up @@ -63,7 +63,7 @@
* @see javax.jcr.Session
* @see org.apache.jackrabbit.rmi.remote.RemoteSession
*/
@Deprecated public class ClientSession extends ClientObject implements Session {
@Deprecated(forRemoval = true) public class ClientSession extends ClientObject implements Session {

/**
* Logger instance.
Expand Down
Expand Up @@ -38,7 +38,7 @@
* @see javax.jcr.version.Version
* @see org.apache.jackrabbit.rmi.remote.RemoteVersion
*/
@Deprecated public class ClientVersion extends ClientNode implements Version {
@Deprecated(forRemoval = true) public class ClientVersion extends ClientNode implements Version {

/** The adapted remote version. */
private RemoteVersion remote;
Expand Down
Expand Up @@ -40,7 +40,7 @@
* @see javax.jcr.version.VersionHistory
* @see org.apache.jackrabbit.rmi.remote.RemoteVersionHistory
*/
@Deprecated public class ClientVersionHistory extends ClientNode implements VersionHistory {
@Deprecated(forRemoval = true) public class ClientVersionHistory extends ClientNode implements VersionHistory {

/** The adapted remote version history. */
private RemoteVersionHistory remote;
Expand Down
Expand Up @@ -30,7 +30,7 @@
import org.apache.jackrabbit.rmi.remote.RemoteNode;
import org.apache.jackrabbit.rmi.remote.RemoteVersionManager;

@Deprecated public class ClientVersionManager extends ClientObject
@Deprecated(forRemoval = true) public class ClientVersionManager extends ClientObject
implements VersionManager {

/** The current session. */
Expand Down
Expand Up @@ -49,7 +49,7 @@
* @see javax.jcr.Workspace
* @see org.apache.jackrabbit.rmi.remote.RemoteWorkspace
*/
@Deprecated public class ClientWorkspace extends ClientObject implements Workspace {
@Deprecated(forRemoval = true) public class ClientWorkspace extends ClientObject implements Workspace {

/** The current session. */
private Session session;
Expand Down
Expand Up @@ -36,7 +36,7 @@
*
* @since 1.4
*/
@Deprecated public class ClientXASession extends ClientSession implements XAResource {
@Deprecated(forRemoval = true) public class ClientXASession extends ClientSession implements XAResource {

/**
* The adapted remote transaction enabled session.
Expand Down
Expand Up @@ -28,7 +28,7 @@
* Adapter class for exposing a {@link ContentHandler} instance as
* {@link DefaultHandler} object.
*/
@Deprecated class DefaultContentHandler extends DefaultHandler {
@Deprecated(forRemoval = true) class DefaultContentHandler extends DefaultHandler {

/**
* The adapted content handler instance.
Expand Down
Expand Up @@ -101,7 +101,7 @@
* @see org.apache.jackrabbit.rmi.client.ClientAdapterFactory
* @see org.apache.jackrabbit.rmi.client.ClientObject
*/
@Deprecated public interface LocalAdapterFactory {
@Deprecated(forRemoval = true) public interface LocalAdapterFactory {

/**
* Factory method for creating a local adapter for a remote repository.
Expand Down
Expand Up @@ -30,7 +30,7 @@
* exceptions, then the RemoteException is wrapped into a
* RemoteRuntimeException.
*/
@Deprecated public class RemoteRepositoryException extends RepositoryException {
@Deprecated(forRemoval = true) public class RemoteRepositoryException extends RepositoryException {

/**
* Creates a RemoteRepositoryException based on the given RemoteException.
Expand Down
Expand Up @@ -28,7 +28,7 @@
* throw RepositoryExceptions, then the RemoteException is wrapped into
* a RemoteRepositoryException.
*/
@Deprecated public class RemoteRuntimeException extends RuntimeException {
@Deprecated(forRemoval = true) public class RemoteRuntimeException extends RuntimeException {

/**
* Creates a RemoteRuntimeException based on the given RemoteException.
Expand Down
Expand Up @@ -41,7 +41,7 @@
* @see javax.jcr.Repository
* @see org.apache.jackrabbit.rmi.remote.RemoteRepository
*/
@Deprecated public abstract class SafeClientRepository extends ClientObject
@Deprecated(forRemoval = true) public abstract class SafeClientRepository extends ClientObject
implements Repository {

/** The adapted remote repository. */
Expand Down
Expand Up @@ -57,7 +57,7 @@
* org.apache.cocoon.serialization.AbstractTextSerializer class in the
* cocoon-pipeline-impl component for the original code.
*/
@Deprecated class SerializingContentHandler extends DefaultContentHandler {
@Deprecated(forRemoval = true) class SerializingContentHandler extends DefaultContentHandler {

/**
* The character encoding used for serialization (UTF-8).
Expand Down
Expand Up @@ -36,7 +36,7 @@
* <p>
* See the subclasses for type-specific versions of this abstract class.
*/
@Deprecated public abstract class ClientIterator extends ClientObject
@Deprecated(forRemoval = true) public abstract class ClientIterator extends ClientObject
implements RangeIterator {

/** The adapted remote iterator. */
Expand Down
Expand Up @@ -29,7 +29,7 @@
* <p>
* A ClientIterator for iterating remote nodes.
*/
@Deprecated public class ClientNodeIterator extends ClientIterator implements NodeIterator {
@Deprecated(forRemoval = true) public class ClientNodeIterator extends ClientIterator implements NodeIterator {

/** The current session. */
private final Session session;
Expand Down
Expand Up @@ -28,7 +28,7 @@
* <p>
* A ClientIterator for iterating remote node types.
*/
@Deprecated public class ClientNodeTypeIterator extends ClientIterator
@Deprecated(forRemoval = true) public class ClientNodeTypeIterator extends ClientIterator
implements NodeTypeIterator {

/**
Expand Down
Expand Up @@ -29,7 +29,7 @@
* <p>
* A ClientIterator for iterating remote properties.
*/
@Deprecated public class ClientPropertyIterator extends ClientIterator
@Deprecated(forRemoval = true) public class ClientPropertyIterator extends ClientIterator
implements PropertyIterator {

/** The current session. */
Expand Down
Expand Up @@ -29,7 +29,7 @@
* <p>
* A ClientIterator for iterating remote rows.
*/
@Deprecated public class ClientRowIterator extends ClientIterator implements RowIterator {
@Deprecated(forRemoval = true) public class ClientRowIterator extends ClientIterator implements RowIterator {

/** Current session. */
private Session session;
Expand Down
Expand Up @@ -29,7 +29,7 @@
* <p>
* A ClientIterator for iterating remote versions.
*/
@Deprecated public class ClientVersionIterator extends ClientIterator
@Deprecated(forRemoval = true) public class ClientVersionIterator extends ClientIterator
implements VersionIterator {

/** The current session. */
Expand Down
Expand Up @@ -37,7 +37,7 @@
*
* @see RemoteGroup
*/
@Deprecated public class ClientGroup extends ClientPrincipal implements GroupPrincipal {
@Deprecated(forRemoval = true) public class ClientGroup extends ClientPrincipal implements GroupPrincipal {

private final LocalAdapterFactory factory;

Expand Down
Expand Up @@ -34,7 +34,7 @@
* @see Principal
* @see RemotePrincipal
*/
@Deprecated public class ClientPrincipal implements Principal {
@Deprecated(forRemoval = true) public class ClientPrincipal implements Principal {

private final RemotePrincipal p;

Expand Down
Expand Up @@ -28,7 +28,7 @@
* <p>
* A ClientIterator for iterating remote principals
*/
@Deprecated public class ClientPrincipalIterator extends ClientIterator {
@Deprecated(forRemoval = true) public class ClientPrincipalIterator extends ClientIterator {

public ClientPrincipalIterator(final RemoteIterator iterator,
final LocalAdapterFactory factory) {
Expand Down
Expand Up @@ -40,7 +40,7 @@
* @see javax.jcr.security.AccessControlEntry
* @see org.apache.jackrabbit.rmi.remote.security.RemoteAccessControlEntry
*/
@Deprecated public class ClientAccessControlEntry extends ClientObject implements
@Deprecated(forRemoval = true) public class ClientAccessControlEntry extends ClientObject implements
AccessControlEntry {

private final RemoteAccessControlEntry race;
Expand Down
Expand Up @@ -42,7 +42,7 @@
* @see javax.jcr.security.AccessControlList
* @see org.apache.jackrabbit.rmi.remote.security.RemoteAccessControlList
*/
@Deprecated public class ClientAccessControlList extends ClientAccessControlPolicy
@Deprecated(forRemoval = true) public class ClientAccessControlList extends ClientAccessControlPolicy
implements AccessControlList {

public ClientAccessControlList(final RemoteAccessControlList racl,
Expand Down

0 comments on commit 35549bc

Please sign in to comment.