package org.cryptonit.cloud.timestamping;

import javax.ws.rs.Path;

/**
 * @author Mathias Brossard
 */
@Path("/timestamp")
public class Application {

}

package org.cryptonit.cloud.timestamping;

import javax.ws.rs.Path;
import org.cryptonit.cloud.interfaces.TimestampingAuthorityFactory;

/**
 * @author Mathias Brossard
 */
@Path("/timestamp")
public class Application {
    private static TimestampingAuthorityFactory tsaFactory = null;

    public static void setTimestampingAuthorityFactory(TimestampingAuthorityFactory factory) {
        tsaFactory = factory;
    }
}

Add static method to set TimestampingAuthorityFactory
Add static method to set TimestampingAuthorityFactory
