[appengine-java] Will user service be available for DeferredTask?

2011-09-24 Thread -sowdri-
Hi, 

In case, the deferred task need to identify the user who ran the task, will 
the state of userservice be available for the task being executed?

thanks, 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/-cAeWEhnW9gJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] LocalUnitTesting, setting up queue name??

2011-09-24 Thread -sowdri-
Hi, 

How to setup the name of the queue, if the code that uses queue other than 
default queue?? 

protected final LocalServiceTestHelper helper = new LocalServiceTestHelper(
new LocalUserServiceTestConfig(),
new LocalDatastoreServiceTestConfig(),
* new LocalTaskQueueTestConfig()*
* .setDisableAutoTaskExecution(false)*
* .setCallbackClass(*
* LocalTaskQueueTestConfig.DeferredTaskCallback.class)*
* .setTaskExecutionLatch(latch)*);

In the above code snippet, I cannot set the queue name to initialize.

Thanks, 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/dv2Q4jAOxFgJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.