Uses of Interface
org.faktorips.runtime.IRuntimeRepository
Packages that use IRuntimeRepository
Package
Description
Abstractions and abstract implementations for XML binding of Faktor-IPS objects with either
classic JAXB or Jakarta XML Binding.
-
Uses of IRuntimeRepository in org.faktorips.runtime
Classes in org.faktorips.runtime that implement IRuntimeRepositoryModifier and TypeClassDescriptionclassA runtime repository that loads the resources by callingClassLoader.getResourceAsStream(String)classA runtime repository that keeps its data in memory.Methods in org.faktorips.runtime that return IRuntimeRepositoryModifier and TypeMethodDescriptionprotected IRuntimeRepositoryClassloaderRuntimeRepositoryManager.createNewRuntimeRepository()IRuntimeRepositoryManager.getActualRuntimeRepository()Deprecated.since 3.9.0: The method name was a false translation from German.IRuntimeRepositoryManager.getCurrentRuntimeRepository()Call a modification check on the product data provider.IProductComponent.getRepository()Returns the repository this product component belongs to.IProductComponentGeneration.getRepository()Returns the repository this product component generation belongs to.IProductComponentLinkSource.getRepository()Getting the runtime repository of this link source.IRuntimeRepositoryLookup.getRuntimeRepository()Returns an instance ofIRuntimeRepositorythat is used to load the product component and generation of a serializedProductConfigurationafter deserialization.Methods in org.faktorips.runtime that return types with arguments of type IRuntimeRepositoryModifier and TypeMethodDescriptionIRuntimeRepository.getAllReferencedRepositories()Returns all repositories this one depends on directly or indirectly.IRuntimeRepository.getDirectlyReferencedRepositories()Returns the runtime repositories this one directly depends on.Methods in org.faktorips.runtime with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionvoidIRuntimeRepository.addDirectlyReferencedRepository(IRuntimeRepository repository) Adds a repository this repository depends on because the one to add contains product data that is referenced from this repository.protected List<IIpsXmlAdapter<?,?>> InMemoryRuntimeRepository.getAllInternalEnumXmlAdapters(IRuntimeRepository repository) protected voidInMemoryRuntimeRepository.getAllIpsTestCases(List<IpsTest2> result, IRuntimeRepository runtimeRepository) IRuntimeRepository.getAllIpsTestCases(IRuntimeRepository runtimeRepository) Returns a list of all test cases stored in the repository and all repositories this one references.IRuntimeRepository.getIpsTest(String qName, IRuntimeRepository runtimeRepository) Returns the test (either test case or suite) for the given qualified name.IRuntimeRepository.getIpsTestCase(String qName, IRuntimeRepository runtimeRepository) Returns the test case for the given qualified name.protected IpsTestCaseBaseInMemoryRuntimeRepository.getIpsTestCaseInternal(String qName, IRuntimeRepository runtimeRepository) protected voidInMemoryRuntimeRepository.getIpsTestCasesStartingWith(String qNamePrefix, List<IpsTest2> result, IRuntimeRepository runtimeRepository) IRuntimeRepository.getIpsTestCasesStartingWith(String qNamePrefix, IRuntimeRepository runtimeRepository) Returns a list of test cases starting with the given qualified name prefix stored in the repository and all repositories this one references.IRuntimeRepository.getIpsTestSuite(String qNamePrefix, IRuntimeRepository runtimeRepository) Returns a test suite that contains all tests that have qualified names starting with the given prefix.protected booleanClassloaderRuntimeRepositoryManager.isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository) Constructors in org.faktorips.runtime with parameters of type IRuntimeRepositoryModifierConstructorDescriptionIpsEnumToXmlWriter(IRuntimeRepository repository, Class<?> enumClass) To save an extensible enum to XML, all instances need to be loaded from theIRuntimeRepositorytherefore we require non-nullparameters.IpsEnumToXmlWriter(IRuntimeRepository repository, Class<?> enumClass, List<?> enumValues) To save an extensible enum to XML, all instances need to be loaded from theIRuntimeRepositorytherefore we require non-nullparameters. -
Uses of IRuntimeRepository in org.faktorips.runtime.internal
Classes in org.faktorips.runtime.internal that implement IRuntimeRepositoryModifier and TypeClassDescriptionclassThis abstract runtime repository handles the caching for already loaded instances.classAn abstract repository that handles the common stuff between theAbstractXmlInputStreamRepositoryand the concrete runtime repositories.classAbstract implementation of runtime repository.classAbstract base implementation of runtime repository that uses a table of contents to lazily load the product data.classAn abstract repository that handles loading Faktor-IPS runtime information from XML asInputStreams.Methods in org.faktorips.runtime.internal that return IRuntimeRepositoryModifier and TypeMethodDescriptionprotected abstract IRuntimeRepositoryAbstractRuntimeRepositoryManager.createNewRuntimeRepository()Creates a new repository.AbstractRuntimeRepositoryManager.getActualRuntimeRepository()Deprecated.since 3.9.0: The method name was a false translation from German.AbstractRuntimeRepositoryManager.getCurrentRuntimeRepository()ProductComponent.getRepository()ProductComponentGeneration.getRepository()Methods in org.faktorips.runtime.internal that return types with arguments of type IRuntimeRepositoryModifier and TypeMethodDescriptionAbstractRuntimeRepository.getAllReferencedRepositories()AbstractRuntimeRepository.getDirectlyReferencedRepositories()Methods in org.faktorips.runtime.internal with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionvoidAbstractRuntimeRepository.addAllEnumXmlAdapters(List<IIpsXmlAdapter<?, ?>> adapters, IRuntimeRepository repository) Adds all enumeration XmlAdapters available in this repository to the provided list.final voidAbstractRuntimeRepository.addDirectlyReferencedRepository(IRuntimeRepository repository) protected abstract voidTable.addRow(List<String> columns, IRuntimeRepository productRepository) Is used by the generated class to retrieve the values for a single row.protected IIpsXmlAdapter<String,?> AbstractTocBasedRuntimeRepository.createEnumXmlAdapter(String className, IRuntimeRepository repository) Creates and returns anIIpsXmlAdapterinstance for the provided class name.protected abstract IpsTestCaseBaseAbstractTocBasedRuntimeRepository.createTestCase(TestCaseTocEntry tocEntry, IRuntimeRepository runtimeRepository) Creates the test case object for the given toc entry.protected IpsTestCaseBaseAbstractXmlInputStreamRepository.createTestCase(TestCaseTocEntry tocEntry, IRuntimeRepository runtimeRepository) protected List<IIpsXmlAdapter<?,?>> AbstractCachingRuntimeRepository.getAllInternalEnumXmlAdapters(IRuntimeRepository repository) protected abstract List<IIpsXmlAdapter<?,?>> AbstractRuntimeRepository.getAllInternalEnumXmlAdapters(IRuntimeRepository repository) Returns all enumeration XmlAdapters available in this repository that generated by Faktor-IPS.protected abstract voidAbstractRuntimeRepository.getAllIpsTestCases(List<IpsTest2> result, IRuntimeRepository runtimeRepository) Same asAbstractRuntimeRepository.getAllIpsTestCases(IRuntimeRepository)but searches only in this repository and not the ones this repository depends on.AbstractRuntimeRepository.getAllIpsTestCases(IRuntimeRepository runtimeRepository) protected voidAbstractTocBasedRuntimeRepository.getAllIpsTestCases(List<IpsTest2> result, IRuntimeRepository runtimeRepository) AbstractRuntimeRepository.getIpsTest(String qName, IRuntimeRepository runtimeRepository) AbstractRuntimeRepository.getIpsTestCase(String qName, IRuntimeRepository runtimeRepository) protected abstract IpsTestCaseBaseAbstractRuntimeRepository.getIpsTestCaseInternal(String qName, IRuntimeRepository runtimeRepository) Same asAbstractRuntimeRepository.getIpsTestCase(String, IRuntimeRepository)but searches only in this repository and not the ones this repository depends on.protected IpsTestCaseBaseAbstractTocBasedRuntimeRepository.getIpsTestCaseInternal(String qName, IRuntimeRepository runtimeRepository) IpsTestCases are created new every time and should not be cached because the test data could change for every test creation.protected abstract voidAbstractRuntimeRepository.getIpsTestCasesStartingWith(String qNamePrefix, List<IpsTest2> result, IRuntimeRepository runtimeRepository) Gets all ips test cases starting with the given qualified name prefix.AbstractRuntimeRepository.getIpsTestCasesStartingWith(String qNamePrefix, IRuntimeRepository runtimeRepository) protected voidAbstractTocBasedRuntimeRepository.getIpsTestCasesStartingWith(String qNamePrefix, List<IpsTest2> result, IRuntimeRepository runtimeRepository) AbstractRuntimeRepository.getIpsTestSuite(String qNamePrefix, IRuntimeRepository runtimeRepository) protected abstract List<IIpsXmlAdapter<?,?>> AbstractCachingRuntimeRepository.getNotCachedEnumXmlAdapter(IRuntimeRepository repository) protected List<IIpsXmlAdapter<?,?>> AbstractTocBasedRuntimeRepository.getNotCachedEnumXmlAdapter(IRuntimeRepository repository) voidAbstractModelObject.initFromXml(Element objectEl, boolean initWithProductDefaultsBeforeReadingXmlData, IRuntimeRepository productRepository, IObjectReferenceStore store) Initializes the policy component's state with the data stored in the given xml element.voidAbstractModelObject.initFromXml(Element objectEl, boolean initWithProductDefaultsBeforeReadingXmlData, IRuntimeRepository productRepository, IObjectReferenceStore store, XmlCallback xmlCallback) Initializes the policy component's state with the data stored in the given xml element.protected voidAbstractModelObject.initFromXml(Element objectEl, boolean initWithProductDefaultsBeforeReadingXmlData, IRuntimeRepository productRepository, IObjectReferenceStore store, XmlCallback xmlCallback, String currPath) Initializes the policy component's state with the data stored in the given xml element.voidProductConfiguration.initFromXml(Element objectEl, IRuntimeRepository productRepository) Loads the product component thisProductConfigurationmanages.voidTable.initFromXml(InputStream is, IRuntimeRepository productRepository, String qualifiedTableName) Initializes this object with the data stored in the XML element.protected voidAbstractModelObject.initPropertiesFromXml(Map<String, String> propMap, IRuntimeRepository productRepository) protected abstract booleanAbstractRuntimeRepositoryManager.isRepositoryUpToDate(IRuntimeRepository currentRuntimeRepository) Checks whether theIRuntimeRepositoryis up to date or not.Constructors in org.faktorips.runtime.internal with parameters of type IRuntimeRepositoryModifierConstructorDescriptionProductComponent(IRuntimeRepository repository, String id, String productKindId, String versionId) Creates a new product component with the indicate id, kind id and version id.TableSaxHandler(Table<?> table, IRuntimeRepository productRepository) -
Uses of IRuntimeRepository in org.faktorips.runtime.internal.productvariant
Methods in org.faktorips.runtime.internal.productvariant with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionProductVariantRuntimeHelper.getOriginalProdCmpt(IRuntimeRepository runtimeRepository, Element element) ProductVariantRuntimeHelper.initProductComponentGenerationVariation(IRuntimeRepository runtimeRepository, GenerationTocEntry tocEntry, Element genElement) The given generation is initialized with the data of the original product component generation and the variations defined by the variant. -
Uses of IRuntimeRepository in org.faktorips.runtime.internal.toc
Methods in org.faktorips.runtime.internal.toc with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionabstract TCustomTocEntryObject.createRuntimeObject(IRuntimeRepository repository) Returns the object identified by this TOC entry. -
Uses of IRuntimeRepository in org.faktorips.runtime.internal.xml
Methods in org.faktorips.runtime.internal.xml with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionXmlBindingSupportHelper.XmlBindingContextConstructor.invoke(JAXBContext wrappedCtx, List<? extends IIpsXmlAdapter<?, ?>> enumXmlAdapters, IRuntimeRepository repository) XmlBindingSupportHelper.newJAXBContext(JAXBContext ctx, IRuntimeRepository repository) XmlBindingSupportHelper.newJAXBContext(IRuntimeRepository repository) -
Uses of IRuntimeRepository in org.faktorips.runtime.jaxb
Methods in org.faktorips.runtime.jaxb that return IRuntimeRepositoryModifier and TypeMethodDescriptionIpsJAXBContext.getRepository()Deprecated.Returns the Faktor-IPS runtime repository.Constructors in org.faktorips.runtime.jaxb with parameters of type IRuntimeRepositoryModifierConstructorDescriptionIpsJAXBContext(JAXBContext wrappedCtx, List<? extends XmlAdapter<?, ?>> enumXmlAdapters, IRuntimeRepository repository) Deprecated.ProductConfigurationXmlAdapter(IRuntimeRepository repository) Deprecated. -
Uses of IRuntimeRepository in org.faktorips.runtime.productdataprovider
Subinterfaces of IRuntimeRepository in org.faktorips.runtime.productdataproviderClasses in org.faktorips.runtime.productdataprovider that implement IRuntimeRepositoryModifier and TypeClassDescriptionclass/** TheDetachedContentRuntimeRepositoryis a runtime repository that is able to parse the product data provided from aIProductDataProviderand instantiates the necessary objects.Methods in org.faktorips.runtime.productdataprovider that return IRuntimeRepositoryModifier and TypeMethodDescriptionprotected IRuntimeRepositoryDetachedContentRuntimeRepositoryManager.createNewRuntimeRepository()Methods in org.faktorips.runtime.productdataprovider with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionprotected booleanDetachedContentRuntimeRepositoryManager.isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository) -
Uses of IRuntimeRepository in org.faktorips.runtime.test
Methods in org.faktorips.runtime.test that return IRuntimeRepositoryModifier and TypeMethodDescriptionstatic IRuntimeRepositoryTocHierarchyCreator.createRuntimeRepository(List<String> runtimePackages, ClassLoader clazzLoader) Creates aIRuntimeRepositorywith a hierarchy from a list of runtime packages.IpsTest2.getRepository()Returns the runtime repository for searching and creating object during the test run.Methods in org.faktorips.runtime.test that return types with arguments of type IRuntimeRepositoryModifier and TypeMethodDescriptionprotected abstract List<IRuntimeRepository>AbstractIpsTestRunner.createRepositories()Creates the repositories.protected List<IRuntimeRepository>CmdLineIpsTestRunner.createRepositories()protected List<IRuntimeRepository>SocketIpsTestRunner.createRepositories()protected List<IRuntimeRepository>AbstractIpsTestRunner.getRepositories()Returns all stored repositories.
If the repositories currently not exists in memory create the repositories first.
The repository will be created by the to be implemented method:createRepositories()Methods in org.faktorips.runtime.test with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionvoidIpsTest2.setRepository(IRuntimeRepository runtimeRepository) Sets the runtime repository. -
Uses of IRuntimeRepository in org.faktorips.runtime.xml
Methods in org.faktorips.runtime.xml with parameters of type IRuntimeRepositoryModifier and TypeMethodDescriptionIXmlBindingSupport.newJAXBContext(JAXBContext ctx, IRuntimeRepository repository) Creates aJAXBContextthat wraps the provided context and extends the marshaling methods to provide marshaling of Faktor-IPS enumerations and model objects configured by product components.IXmlBindingSupport.newJAXBContext(IRuntimeRepository repository) Creates a newJAXBContextthat can marshal / unmarshal all model classes defined in the given repository.Constructors in org.faktorips.runtime.xml with parameters of type IRuntimeRepository