@Test public void testDeployProperties() throws Exception { final Properties p = new Properties(); final String path = warArchive.get().getAbsolutePath(); p.setProperty(Deployer.FILENAME, path); p.setProperty(OPENEJB_DEPLOYER_SAVE_DEPLOYMENTS, Boolean.FALSE.toString()); final Deployer deployer = getDeployer(); final AppInfo appInfo = deployer.deploy(p); Assert.assertTrue("Paths do not match: " + path + " - " + appInfo.path, path.equals(appInfo.path)); }
@Override public AppInfo deploy(final String location) throws OpenEJBException { return deploy(location, null); }
DeployerEjb implements Deployer { @Override public AppInfo deploy(final String location) throws OpenEJBException { return deploy(location, null); } }
DeployerEjb implements Deployer { @Override public AppInfo deploy(final String location) throws OpenEJBException { return deploy(location, null); } DeployerEjb(); }
DeployerEjb implements Deployer { @Override public AppInfo deploy(final String location) throws OpenEJBException { return deploy(location, null); } DeployerEjb(); @Override String getUniqueFile(); @Override Collection<AppInfo> getDeployedApps(); @Override AppInfo deploy(final String location); @Override AppInfo deploy(final Properties properties); @Override AppInfo deploy(final String inLocation, Properties properties); @Override void undeploy(final String moduleId); @Override void reload(final String moduleId); }
DeployerEjb implements Deployer { @Override public AppInfo deploy(final String location) throws OpenEJBException { return deploy(location, null); } DeployerEjb(); @Override String getUniqueFile(); @Override Collection<AppInfo> getDeployedApps(); @Override AppInfo deploy(final String location); @Override AppInfo deploy(final Properties properties); @Override AppInfo deploy(final String inLocation, Properties properties); @Override void undeploy(final String moduleId); @Override void reload(final String moduleId); static final String OPENEJB_DEPLOYER_FORCED_APP_ID_PROP; static final String OPENEJB_DEPLOYER_HOST; static final String OPENEJB_USE_BINARIES; static final String OPENEJB_PATH_BINARIES; static final String OPENEJB_VALUE_BINARIES; static final String OPENEJB_APP_AUTODEPLOY; static final ThreadLocal<Boolean> AUTO_DEPLOY; }