|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.SSWAPEnvironment
public class SSWAPEnvironment
Describes the environment of the RESTful interface (e.g., the web-accessible resources, the content providers etc.)
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CACHE_API
|
static java.lang.String |
DEFAULT_CACHE_API_CONFIG_PROPERTY
|
static java.lang.String |
DEFAULT_NO_CACHE_API
|
static java.lang.String |
DEFAULT_NO_CACHE_API_CONFIG_PROPERTY
|
private static java.lang.Object[] |
providers
The array with content providers (initialized in the class initializer). |
private static java.lang.Class[] |
RESOURCES
The array with classes that represent the web-accessible resources |
private static boolean |
testMode
|
Constructor Summary | |
---|---|
SSWAPEnvironment()
|
Method Summary | |
---|---|
private static java.util.List<java.lang.Object> |
createProviders()
Creates the instances of content providers |
static java.lang.String |
getCacheAPI()
|
static java.lang.String |
getNoCacheAPI()
|
static java.lang.Object[] |
getProviders()
Gets the content providers. |
static java.lang.Class[] |
getResources()
Gets the classes that represent the web-accessible resources |
static boolean |
isCacheAPI()
|
static boolean |
isTestMode()
|
static void |
setTestMode(boolean testMode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_CACHE_API
public static final java.lang.String DEFAULT_CACHE_API_CONFIG_PROPERTY
public static final java.lang.String DEFAULT_NO_CACHE_API
public static final java.lang.String DEFAULT_NO_CACHE_API_CONFIG_PROPERTY
private static final java.lang.Class[] RESOURCES
private static boolean testMode
private static java.lang.Object[] providers
Constructor Detail |
---|
public SSWAPEnvironment()
Method Detail |
---|
private static java.util.List<java.lang.Object> createProviders()
public static java.lang.Class[] getResources()
public static java.lang.Object[] getProviders()
public static java.lang.String getCacheAPI()
public static java.lang.String getNoCacheAPI()
public static boolean isCacheAPI()
public static boolean isTestMode()
public static void setTestMode(boolean testMode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |