SHARE
TWEET

Untitled

a guest Feb 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.thusitha.library.config;
  2.  
  3. import com.thusitha.library.endpoints.MemberEndpoint;
  4. import org.glassfish.jersey.server.ResourceConfig;
  5. import org.springframework.stereotype.Component;
  6.  
  7. @Component
  8. public class JerseyConfig extends ResourceConfig {
  9.  
  10.     public JerseyConfig(){
  11.         //Register your endpoints you want to expose
  12.         register(MemberEndpoint.class);
  13.     }
  14.  
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top