public interface ApiProxyLocal
dev_appserver
.Modifier and Type | Method and Description |
---|---|
void |
appendProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Appends the given service properties to
properties . |
com.google.appengine.tools.development.Clock |
getClock() |
com.google.appengine.tools.development.LocalRpcService |
getService(java.lang.String pkg)
Get the
LocalRpcService identified by the given package. |
void |
setClock(com.google.appengine.tools.development.Clock clock)
Sets the clock with which all local services are initialized.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Resets the service properties to
properties . |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets an individual service property.
|
void |
stop()
Stops all services started by this ApiProxy and releases
all of its resources.
|
void setProperty(java.lang.String property, java.lang.String value)
property
- name of the property to setvalue
- new value of the propertyvoid setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
.properties
- a maybe null
set of properties for
local services.void appendProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
.properties
- a set of properties to append for local services.void stop()
com.google.appengine.tools.development.LocalRpcService getService(java.lang.String pkg)
LocalRpcService
identified by the given package.
This method should really only be used by tests.pkg
- The package identifying the service we want.null
if no service
identified by the given package is available.com.google.appengine.tools.development.Clock getClock()
void setClock(com.google.appengine.tools.development.Clock clock)
clock
-