Skip to content

DRAFT: Feature/osgi helpers#6

Closed
mnmercer wants to merge 14 commits intofeature/staticTypeField_IRIsfrom
feature/osgi_helpers
Closed

DRAFT: Feature/osgi helpers#6
mnmercer wants to merge 14 commits intofeature/staticTypeField_IRIsfrom
feature/osgi_helpers

Conversation

@mnmercer
Copy link
Copy Markdown
Contributor

@mnmercer mnmercer commented Apr 3, 2025

Created new OSGi focused bundle with helper classes and an OSGi Service implementation of ThingFactory. Updated ObjectProperty generation logic to create get, set, add, and remove methods using only a resource instead of an object. Updated OwlOrmInnovationHandler to handle void methods, separate handling of clearOut methods to support functional and non-functional, handle _resource methods, and use Resource for retrieving the subjects of object property values to support bnodes as well as IRIs.

mnmercer and others added 12 commits February 19, 2025 13:59
… interfaces and core classes easier. Changed the Bundle Name for the other modules to be different instead of all the same. Added a specific org.slf4j version to the engine bundle to avoid clashes with core Karaf versions.
…s reference doesn't cause an exception unless full closure enforcement is turned o
…olsMissingParentException

Feature/enforce full closure controls missing parent exception
…instances in the BaseThingFactory to work within the isolated class loader framework of Osgi. Changed name of ThingFactoryProvider to OsgiThingFactory and made it implement the ThingFactory interface. Added methods to add and remove class loaders from the service. Updated ORMActivator to add and remove the bundle class loader on activate and deactive respectively.
Merge with staticTypeField_IRIs changes. Changed BaseThingFactory to not throw an exception if a superclass doesn't have a Type annotation and instead filter then out. Cleaned up OsgiThingFactory.
…remove methods using only a resource instead of an object. Updated OwlOrmInnovationHandler to handle void methods, separate handling of clearOut methods to support functional and non-functional, handle _resource methods, and use Resource for retrieving the subjects of object property values to support bnodes as well as IRIs. Updated OsgiThingFactory with an ordered getParents method, ordering on the getChildren method, and a getTypes method given a model, Resource, and super class. General cleanup.
@mnmercer mnmercer requested a review from bdgould April 3, 2025 20:11
@mnmercer mnmercer self-assigned this Apr 3, 2025
@mnmercer
Copy link
Copy Markdown
Contributor Author

Failed attempt. Better approach is in #7

@mnmercer mnmercer closed this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants