/** * Programmatic hook to dynamically load {@link CitationAgent} at runtime. * * @throws IOException * if an error occurs */ public static synchronized void initialise() throws IOException { if (!isLoaded) { AgentLoader.loadAgent(ExperimentAgent.class); isLoaded = true; } }
/** * Programmatic hook to dynamically load {@link CitationAgent} at runtime. * * @throws IOException * if an error occurs */ public static synchronized void initialise() throws IOException { if (!isLoaded) { AgentLoader.loadAgent(ExperimentAgent.class); isLoaded = true; } }
/** * Programmatic hook to dynamically load {@link CitationAgent} at runtime. * * @throws IOException * if an error occurs */ public synchronized static void initialise() throws IOException { if (!isLoaded) { AgentLoader.loadAgent(CitationAgent.class); isLoaded = true; } }