Class RestService

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, RestInterfaceUID

    @Service
    public class RestService
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, RestInterfaceUID
    Author:
    Ludovic Champenois [email protected], Rajeshwar Patil
    • Constructor Detail

      • RestService

        public RestService()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • preDestroy

        public void preDestroy()
        Specified by:
        preDestroy in interface org.glassfish.hk2.api.PreDestroy
      • getUID

        public String getUID()
        Description copied from interface: RestInterfaceUID
        Returns unique ID to be used by local clients.
        Specified by:
        getUID in interface RestInterfaceUID
        Returns:
        String the unique ID. Returns null for unathorized clients.
      • getRestUID

        public static String getRestUID()