forked from igniterealtime/openfire-monitoring-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes igniterealtime#210: Update Jersey to 2.35
Note that this change depends on OF-2352. This is _not_ in Openfire 4.7.0 beta (but should be merged before Openfire 4.7.0 is released).
- Loading branch information
Showing
8 changed files
with
64 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/java/org/jivesoftware/openfire/plugin/JerseyApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.jivesoftware.openfire.plugin; | ||
|
||
import org.jivesoftware.openfire.plugin.service.MonitoringAPI; | ||
|
||
import javax.ws.rs.core.Application; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
public class JerseyApplication extends Application { | ||
|
||
@Override | ||
public Set<Class<?>> getClasses() { | ||
final Set<Class<?>> s = new HashSet<>(); | ||
s.add(MonitoringAPI.class); | ||
s.add(RESTExceptionMapper.class); | ||
return s; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/java/org/jivesoftware/openfire/plugin/JerseyApplicationPublic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.jivesoftware.openfire.plugin; | ||
|
||
import org.jivesoftware.openfire.plugin.service.LogAPI; | ||
|
||
import javax.ws.rs.core.Application; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
public class JerseyApplicationPublic extends Application { | ||
|
||
@Override | ||
public Set<Class<?>> getClasses() { | ||
final Set<Class<?>> s = new HashSet<>(); | ||
s.add(LogAPI.class); | ||
s.add(RESTExceptionMapper.class); | ||
return s; | ||
} | ||
} |
61 changes: 0 additions & 61 deletions
61
src/java/org/jivesoftware/openfire/plugin/JerseyWrapper.java
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
src/java/org/jivesoftware/openfire/plugin/JerseyWrapperPublic.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters