public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) throws ConfigurationException { if (getDeployableObject().getDDBeanRoot().equals(bean)) { return dConfigRoot; } return null; }
public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) throws ConfigurationException { if (getDeployableObject().getDDBeanRoot().equals(bean)) { return dConfigRoot; } return null; }
public WARConfiguration(DeployableObject deployable) { super(deployable, new WebAppDConfigRoot(deployable.getDDBeanRoot())); } }
public DeploymentConfiguration createConfiguration(DeployableObject deployable) { if (ModuleType.RAR.equals(deployable.getType())) { String ddBeanRootVersion = deployable.getDDBeanRoot().getDDBeanRootVersion(); if (ddBeanRootVersion != null && ddBeanRootVersion.equals("1.5")) { return new RARConfiguration(deployable, new Connector15DCBRoot(deployable.getDDBeanRoot())); } String[] specVersion = deployable.getDDBeanRoot().getText("connector/spec-version"); if (specVersion.length > 0 && "1.0".equals(specVersion[0])) { return new RARConfiguration(deployable, new ResourceAdapter_1_0DConfigRoot(deployable.getDDBeanRoot())); } throw new IllegalArgumentException("Unknown resource adapter version: " + deployable.getDDBeanRoot().getDDBeanRootVersion()); } else { return null; } }
public DeploymentConfiguration createConfiguration(DeployableObject deployable) { if (ModuleType.RAR.equals(deployable.getType())) { String ddBeanRootVersion = deployable.getDDBeanRoot().getDDBeanRootVersion(); if (ddBeanRootVersion != null && ddBeanRootVersion.equals("1.5")) { return new RARConfiguration(deployable, new Connector15DCBRoot(deployable.getDDBeanRoot())); } String[] specVersion = deployable.getDDBeanRoot().getText("connector/spec-version"); if (specVersion.length > 0 && "1.0".equals(specVersion[0])) { return new RARConfiguration(deployable, new ResourceAdapter_1_0DConfigRoot(deployable.getDDBeanRoot())); } throw new IllegalArgumentException("Unknown resource adapter version: " + deployable.getDDBeanRoot().getDDBeanRootVersion()); } else { return null; } }