Package org.glassfish.admin.rest
Class RestService
- java.lang.Object
-
- org.glassfish.admin.rest.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
-
-
Field Summary
Fields Modifier and Type Field Description static LocalStringManagerImpl
localStrings
-
Constructor Summary
Constructors Constructor Description RestService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getRestUID()
String
getUID()
Returns unique ID to be used by local clients.void
postConstruct()
void
preDestroy()
-
-
-
Field Detail
-
localStrings
public static final LocalStringManagerImpl localStrings
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroy
in interfaceorg.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 interfaceRestInterfaceUID
- Returns:
- String the unique ID. Returns null for unathorized clients.
-
getRestUID
public static String getRestUID()
-
-