public File getTempDirectory() { return info.getTempDir(); }
public File getTempDirectory() { return info.getTempDir(); }
public File getTempDirectory() { return info.getTempDir(); }
public ArtifactCacheImpl(@Reference HostInfo info) { tempDir = new File(info.getTempDir(), "cache"); entries = new HashMap<>(); }
protected AbstractRuntime(RuntimeConfiguration configuration) { hostInfo = configuration.getHostInfo(); mbServer = configuration.getMBeanServer(); router = configuration.getDestinationRouter(); System.setProperty(JAVA_LIBRARY_PATH, new File(hostInfo.getTempDir(), "native").getAbsolutePath()); }
protected AbstractRuntime(RuntimeConfiguration configuration) { hostInfo = configuration.getHostInfo(); mbServer = configuration.getMBeanServer(); router = configuration.getDestinationRouter(); System.setProperty(JAVA_LIBRARY_PATH, new File(hostInfo.getTempDir(), "native").getAbsolutePath()); }
public BrokerEngine(@Reference PortAllocator portAllocator, @Reference HostInfo info) { this.portAllocator = portAllocator; tempDir = new File(info.getTempDir(), "activemq"); // sets the directory where persistent messages are written File baseDataDir = info.getDataDir(); dataDir = new File(baseDataDir, "activemq.data"); this.info = info; }
private void addLibraries(List<URL> classpath, URL jar) throws IOException { File dir = info.getTempDir(); try (InputStream is = jar.openStream()) { JarInputStream jarStream = new JarInputStream(is);
private void addLibraries(List<URL> classpath, URL jar) throws IOException { File dir = info.getTempDir(); try (InputStream is = jar.openStream()) { JarInputStream jarStream = new JarInputStream(is);