Skip to content

Commit

Permalink
#933: Mark as deprecated for server.(Destroyable, Startable, Stoppable)
Browse files Browse the repository at this point in the history
And make a suggestion to use interfaces that are in the `core` package.

Signed-off-by: moznion <[email protected]>
  • Loading branch information
moznion authored and sbernard31 committed Dec 9, 2020
1 parent a60b898 commit 44155a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*******************************************************************************/
package org.eclipse.leshan.server;

/**
* @deprecated please consider to use {@link org.eclipse.leshan.core.Destroyable} instead. This interface is going to be removed at version 2.0.
*/
@Deprecated
public interface Destroyable {

/** Destroy the instances and frees all system resources. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*******************************************************************************/
package org.eclipse.leshan.server;

/**
* @deprecated please consider to use {@link org.eclipse.leshan.core.Startable} instead. This interface is going to be removed at version 2.0.
*/
@Deprecated
public interface Startable {

void start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*******************************************************************************/
package org.eclipse.leshan.server;

/**
* @deprecated please consider to use {@link org.eclipse.leshan.core.Stoppable} instead. This interface is going to be removed at version 2.0.
*/
@Deprecated
public interface Stoppable {

void stop();
Expand Down

0 comments on commit 44155a9

Please sign in to comment.