public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPortalName()
gets portal name
|
static String |
getRestContextName()
gets rest context name
|
static <T> T |
getService(Class<T> clazz)
Gets the service.
|
static <T> T |
getService(Class<T> clazz,
String containerName)
Gets the service.
|
public static <T> T getService(Class<T> clazz)
clazz - the clazzpublic static <T> T getService(Class<T> clazz, String containerName)
clazz - the classcontainerName - the container's namepublic static String getRestContextName()
public static String getPortalName()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.