public Relay.Target create( UID uid, MessageAddress source, Object content, Token token) { Action a = (Action)content;
public Relay.Target create(UID uid, MessageAddress source, Object content, Token token) {  Action a = null; try { Class c = content.getClass(); Class [] classes = new Class[1]; classes[0] = c; Object[] args = new Object[1]; args[0] = (Action)content; Object o = c.getConstructor(classes).newInstance(args); a = (Action)o; } catch (Exception e) { Logging.getLogger(getClass()).error("Error copying Action", e); }
    public Relay.Target create(        UID uid,         MessageAddress source,         Object content,        Token token) {	Action a = (Action)content;	ActionsWrapper aw = 	    new ActionsWrapper((Action)content, source, null, uid);	a.setWrapper(aw);	return aw;    }