Skip to content

Commit

Permalink
eclipse-leshan#933: Mark as deprecated for server.(Destroyable, Start…
Browse files Browse the repository at this point in the history
…able, Stoppable)

And make a suggestion to use interfaces that are in the `core` package.

Signed-off-by: moznion <[email protected]>
  • Loading branch information
moznion committed Dec 8, 2020
1 parent 31e2970 commit d8ce2c5
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.
*/
@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.
*/
@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.
*/
@Deprecated
public interface Stoppable {

void stop();
Expand Down

0 comments on commit d8ce2c5

Please sign in to comment.