|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.gwtspringrpc.GWTSpringRPCConfig
public class GWTSpringRPCConfig
This class wraps the GWTSpringRPC.properties configuration file to allow
custom instances to be configured for:
| Field Summary | |
|---|---|
static String |
BEAN_NAME_RESOLVER
The resource bundle property name for a BeanNameResolver instance |
private static GWTSpringRPCConfig |
instance
|
private Log |
log
|
static String |
RESOURCE_BUNDLE_NAME
The name of the GWTSpringRPC configuration resource bundle |
static String |
WEB_APPLICATION_CONTEXT_RETRIEVER
The resource bundle property name for a WebApplicationContextRetriever instance |
| Constructor Summary | |
|---|---|
protected |
GWTSpringRPCConfig()
The default constructor is protected since the GWTSpringRPCConfig class is a singleton; to retrieve the instance, use the static getInstance() method. |
| Method Summary | |
|---|---|
String |
getBeanNameResolverClassname(String servletName)
Retrieves the classname for the BeanNameResolver instance configured for the specified servlet. |
static GWTSpringRPCConfig |
getInstance()
Retrieves the singleton GWTSpringRPCConfig instance. |
private String |
getValue(String prefix,
String servletName)
Retrieves a value from the configuration properties file. |
String |
getWebApplicationContextRetrieverClassname(String servletName)
Retrieves the classname for the WebApplicationContextRetriever instance configured for the specified servlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static GWTSpringRPCConfig instance
private final Log log
public static final String RESOURCE_BUNDLE_NAME
public static final String WEB_APPLICATION_CONTEXT_RETRIEVER
public static final String BEAN_NAME_RESOLVER
| Constructor Detail |
|---|
protected GWTSpringRPCConfig()
| Method Detail |
|---|
public static GWTSpringRPCConfig getInstance()
public String getWebApplicationContextRetrieverClassname(String servletName)
servletName - The servlet name
public String getBeanNameResolverClassname(String servletName)
servletName - The servlet name
private String getValue(String prefix,
String servletName)
prefix - The property prefixservletName - The servlet name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||