public static TGTransportAdapter getInstance(TGContext context) {
   return TGSingletonUtil.getInstance(
       context,
       TGTransportAdapter.class.getName(),
       new TGSingletonFactory<TGTransportAdapter>() {
         public TGTransportAdapter createInstance(TGContext context) {
           return new TGTransportAdapter(context);
         }
       });
 }
 public static TGExpressionResolver getInstance(TGContext context) {
   return TGSingletonUtil.getInstance(
       context,
       TGExpressionResolver.class.getName(),
       new TGSingletonFactory<TGExpressionResolver>() {
         public TGExpressionResolver createInstance(TGContext context) {
           return new TGExpressionResolver();
         }
       });
 }