Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Path("a")
- class A {}
- Class ConfigA extends jersey.server.ResourceConfig...{
- public ConfigA {
- register(A.class)
- }
- }
- @Path("a") //SAME PATH as A
- Class B extends A{}
- Class ConfigB extends ConfigA{
- public ConfigB(){
- super();
- //TODO Unregister the class A
- register(B.class)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement