Class DTOFactory
java.lang.Object
org.apache.felix.framework.DTOFactory
Creates various DTOs provided by the core framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddBundleRevisionDTO(BundleRevisionDTO dto, Set<BundleRevisionDTO> resources) private static voidaddWiringNodeIfNotPresent(BundleWiring bw, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) convertAttrsToDTO(Map<String, Object> map) private static BundleDTOcreateBundleDTO(Bundle bundle) private static BundleRevisionDTOcreateBundleRevisionDTO(Bundle bundle) private static BundleRevisionDTOcreateBundleRevisionDTO(Bundle bundle, BundleRevisionImpl revision, Set<BundleRevisionDTO> resources) private static BundleRevisionDTOcreateBundleRevisionDTO(BundleRevision revision, Set<BundleRevisionDTO> resources) private static BundleRevisionDTO[]createBundleRevisionDTOArray(Bundle bundle) private static BundleStartLevelDTOcreateBundleStartLevelDTO(Bundle bundle) private static BundleWireDTOcreateBundleWireDTO(Wire wire, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) private static BundleWiringDTOcreateBundleWiringDTO(Bundle bundle) private static BundleWiringDTOcreateBundleWiringDTO(BundleWiring wiring) private static BundleWiringDTO[]createBundleWiringDTOArray(Bundle bundle) private static voidcreateBundleWiringNodeDTO(BundleWiring bw, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) (package private) static <T> Tprivate static FrameworkDTOcreateFrameworkDTO(Felix framework) private static FrameworkStartLevelDTOcreateFrameworkStartLevelDTO(Framework framework) private static ServiceReferenceDTOprivate static ServiceReferenceDTO[]createServiceReferenceDTOArray(Bundle bundle) private static intgetCapabilityID(Capability capability) private static intgetRequirementID(Requirement requirement) private static intgetResourceIDAndAdd(Resource res, Set<BundleRevisionDTO> resources) private static intgetRevisionID(BundleRevisionImpl revision) private static intgetWiringID(Wiring bw)
-
Constructor Details
-
DTOFactory
private DTOFactory()
-
-
Method Details
-
createDTO
-
createBundleDTO
-
createBundleRevisionDTO
-
createBundleRevisionDTOArray
-
createBundleRevisionDTO
private static BundleRevisionDTO createBundleRevisionDTO(BundleRevision revision, Set<BundleRevisionDTO> resources) -
createBundleRevisionDTO
private static BundleRevisionDTO createBundleRevisionDTO(Bundle bundle, BundleRevisionImpl revision, Set<BundleRevisionDTO> resources) -
createBundleWiringDTO
-
createBundleWiringDTO
-
createBundleWiringDTOArray
-
createBundleWiringNodeDTO
private static void createBundleWiringNodeDTO(BundleWiring bw, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) -
createBundleWireDTO
private static BundleWireDTO createBundleWireDTO(Wire wire, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) -
createBundleStartLevelDTO
-
createServiceReferenceDTOArray
-
createServiceReferenceDTO
-
createFrameworkDTO
-
createFrameworkStartLevelDTO
-
addBundleRevisionDTO
-
addWiringNodeIfNotPresent
private static void addWiringNodeIfNotPresent(BundleWiring bw, Set<BundleRevisionDTO> resources, Set<BundleWiringDTO.NodeDTO> nodes) -
convertAttrsToDTO
-
getWiringID
-
getCapabilityID
-
getRequirementID
-
getResourceIDAndAdd
-
getRevisionID
-