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 ludo@dev.java.net, Rajeshwar Patil
-
-
Field Summary
Fields Modifier and Type Field Description static LocalStringManagerImpllocalStrings
-
Constructor Summary
Constructors Constructor Description RestService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetRestUID()StringgetUID()Returns unique ID to be used by local clients.voidpostConstruct()voidpreDestroy()
-
-
-
Field Detail
-
localStrings
public static final LocalStringManagerImpl localStrings
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroyin interfaceorg.glassfish.hk2.api.PreDestroy
-
getUID
public String getUID()
Description copied from interface:RestInterfaceUIDReturns unique ID to be used by local clients.- Specified by:
getUIDin interfaceRestInterfaceUID- Returns:
- String the unique ID. Returns null for unathorized clients.
-
getRestUID
public static String getRestUID()
-
-