|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.tools.development.ApiProxyLocalFactory
public class ApiProxyLocalFactory
Factory class for an ApiProxy.Delegate
object configured to use local
services, with additional context attributes from the factory setter methods.
In particular, setApplicationDirectory(File)
is a required attribute.
Constructor Summary | |
---|---|
ApiProxyLocalFactory()
|
Method Summary | |
---|---|
ApiProxyLocal |
create()
Either creates a new local proxy, or throws IllegalStateException
if some required attribute is unset. |
java.io.File |
getApplicationDirectory()
Retrieves the user's application directory, or null if unset. |
void |
setApplicationDirectory(java.io.File dir)
Sets the directory containing the application files. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApiProxyLocalFactory()
Method Detail |
---|
public ApiProxyLocal create()
IllegalStateException
if some required attribute is unset. setApplicationDirectory(File)
is the only required attribute in this version.
java.lang.IllegalStateException
- if the application directory is unset.public void setApplicationDirectory(java.io.File dir)
dir
- the root of the user's unpacked application.public java.io.File getApplicationDirectory()
null
if unset.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |