*
* @return A valid DS
*/
public static DirectoryService getDirectoryService() throws Exception
{
CreateDS dsBuilder = null;
// Get the caller by inspecting the stackTrace
StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
// In Java5 the 0th stacktrace element is: java.lang.Thread.dumpThreads(Native Method)