com.ibm.team.build.internal.hjplugin
Class RTCFacadeFactory

java.lang.Object
  extended by com.ibm.team.build.internal.hjplugin.RTCFacadeFactory

public class RTCFacadeFactory
extends Object

Factory for the RTC Build client.


Nested Class Summary
static class RTCFacadeFactory.RTCFacadeWrapper
          Wrapper on the facade to ensure the class loader is setup and restored between calls
 
Constructor Summary
RTCFacadeFactory()
           
 
Method Summary
static RTCFacadeFactory.RTCFacadeWrapper getFacade(String buildToolkitPath, PrintStream debugLog)
          Returns a facade for interfacing with RTC, using the classes in the RTC build toolkit at the given path.
static RTCFacadeFactory.RTCFacadeWrapper newTestingFacade(String toolkitPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTCFacadeFactory

public RTCFacadeFactory()
Method Detail

getFacade

public static RTCFacadeFactory.RTCFacadeWrapper getFacade(String buildToolkitPath,
                                                          PrintStream debugLog)
                                                   throws Exception
Returns a facade for interfacing with RTC, using the classes in the RTC build toolkit at the given path. Current limitation: only one toolkit path at a time is supported. This will create a new facade if the path changes, but that's expensive. Note that the return type is a wrapper and only supports the invoke reflection method. This is deliberate since RTCFacade must be loaded with the class loader that can see the RTC/Jazz/Eclipse types and it will manage the class loader when executing methods.

Throws:
Exception

newTestingFacade

public static RTCFacadeFactory.RTCFacadeWrapper newTestingFacade(String toolkitPath)
                                                          throws Exception
Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.