1 2 38 39 package com.sun.j2ee.blueprints.processmanager.transitions; 40 41 44 public class TransitionDelegateFactory { 45 46 47 public TransitionDelegateFactory() { } 48 49 public TransitionDelegate getTransitionDelegate(String className) throws TransitionException { 50 TransitionDelegate td = null; 51 try { 52 td = (TransitionDelegate)Class.forName(className).newInstance(); 53 } catch(Exception e) { 54 throw new TransitionException(e); 55 } 56 return td; 57 } 58 59 } 60 61 | Popular Tags |