private String getRADefaultEntityName(ResourceAdaptorID raid) throws Exception { ResourceAdaptorDescriptor rad = (ResourceAdaptorDescriptor)sleeDeploymentMBean.getDescriptor(raid); String raEntityName = rad.getName() + "-ra"; return raEntityName; }
public ResourceAdaptorTypeID[] getResourceAdaptorTypes() { return raEntity.getComponent().getSpecsDescriptor().getResourceAdaptorTypes(); }
ResourceAdaptorDescriptor resourceAdaptorDescriptor = (ResourceAdaptorDescriptor) componentDescriptor; return new ResourceAdaptorInfo(resourceAdaptorDescriptor.getName(), resourceAdaptorDescriptor.getSource(), resourceAdaptorDescriptor.getVendor(), resourceAdaptorDescriptor.getVersion(), toString(resourceAdaptorDescriptor.getID()), DeployableUnitInfoUtils.toString(resourceAdaptorDescriptor .getDeployableUnit()), toString(resourceAdaptorDescriptor.getResourceAdaptorType()), resourceAdaptorDescriptor.supportsActiveReconfiguration(), toStringArray(resourceAdaptorDescriptor.getLibraries()));
/** * Retrieves the JAIN SLEE specs descriptor * * @return */ public javax.slee.resource.ResourceAdaptorDescriptor getSpecsDescriptor() { if (specsDescriptor == null) { final LibraryID[] libraryIDs = descriptor.getLibraryRefs().toArray(new LibraryID[descriptor.getLibraryRefs().size()]); final ResourceAdaptorTypeID[] raTypeIDs = descriptor.getResourceAdaptorTypeRefs().toArray(new ResourceAdaptorTypeID[descriptor.getResourceAdaptorTypeRefs().size()]); Set<ProfileSpecificationID> profileSpecSet = new HashSet<ProfileSpecificationID>(); for (ProfileSpecRefDescriptor mProfileSpecRef : descriptor.getProfileSpecRefs()) { profileSpecSet.add(mProfileSpecRef.getComponentID()); } ProfileSpecificationID[] profileSpecs = profileSpecSet.toArray(new ProfileSpecificationID[profileSpecSet.size()]); specsDescriptor = new javax.slee.resource.ResourceAdaptorDescriptor(getResourceAdaptorID(), getDeployableUnit().getDeployableUnitID(), getDeploymentUnitSource(), libraryIDs, raTypeIDs, profileSpecs, getDescriptor().getSupportsActiveReconfiguration()); } return specsDescriptor; }
for (ResourceAdaptorTypeID resourceAdaptorTypeID : raEntity.getComponent().getSpecsDescriptor().getResourceAdaptorTypes()) { Set<ResourceAdaptorEntity> set = entitiesPerType.get(resourceAdaptorTypeID); if (set == null) {
for (ResourceAdaptorTypeID resourceAdaptorTypeID : component.getSpecsDescriptor().getResourceAdaptorTypes()) { Set<ResourceAdaptorEntity> set = entitiesPerType.get(resourceAdaptorTypeID); if (set == null) {