René's URL Explorer Experiment


Title: Added lazy service loading mechanism by hinerm · Pull Request #2 · scijava/scijava-common · GitHub

Open Graph Title: Added lazy service loading mechanism by hinerm · Pull Request #2 · scijava/scijava-common

X Title: Added lazy service loading mechanism by hinerm · Pull Request #2 · scijava/scijava-common

Description: Adds the capacity to mark services as lazy so they won't be loaded during context construction, but can be loaded on demand later. To test: This is easiest to see with a Service implementation that will fail when loaded .. e.g. https://github.com/hinerm/bioformats/blob/scifio-master/components/scifio/src/loci/formats/services/LuraWaveServiceImpl.java .. but any service will work as long as it's not a parameter of another class (as parameters will be loaded before the parent class, regardless of whether they are lazy or not) Verify the service fails or loads as appropriate when "new Context()" is invoked. add "lazy=true" to the service's Plugin annotation repeat (1) and verify there's no error or success message for the service test that context.getService(service.class) causes the same output as before setting lazy to true.

Open Graph Description: Adds the capacity to mark services as lazy so they won't be loaded during context construction, but can be loaded on demand later. To test: This is easiest to see with a Service implementation ...

X Description: Adds the capacity to mark services as lazy so they won't be loaded during context construction, but can be loaded on demand later. To test: This is easiest to see with a Service implementat...

Opengraph URL: https://github.com/scijava/scijava-common/pull/2

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:562dafb0-5370-2e52-0beb-8327821c411b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB85A:1C7458:6BC7864:8D032D0:696D93E7
html-safe-nonceb9961609af36050176d017567b4ac30a373ebe70192ac19ade1fa13d7fe31263
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODVBOjFDNzQ1ODo2QkM3ODY0OjhEMDMyRDA6Njk2RDkzRTciLCJ2aXNpdG9yX2lkIjoiMzc2NTUzOTQzMDk0ODc3MDc5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9209f24f530f5797b18cdbeea1465fe7571346eea2b1aa77b4f12f73bbcb5843
hovercard-subject-tagpull_request:4678488
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scijava/scijava-common/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/1123809?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1123809?s=400&v=4
og:image:altAdds the capacity to mark services as lazy so they won't be loaded during context construction, but can be loaded on demand later. To test: This is easiest to see with a Service implementation ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id3594497
octolytics-dimension-repository_nwoscijava/scijava-common
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3594497
octolytics-dimension-repository_network_root_nwoscijava/scijava-common
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scijava/scijava-common/pull/2/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F2%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F2%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scijava%2Fscijava-common
Reloadhttps://github.com/scijava/scijava-common/pull/2/files
Reloadhttps://github.com/scijava/scijava-common/pull/2/files
Reloadhttps://github.com/scijava/scijava-common/pull/2/files
scijava https://github.com/scijava
scijava-commonhttps://github.com/scijava/scijava-common
Notifications https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://github.com/scijava/scijava-common
Issues 169 https://github.com/scijava/scijava-common/issues
Pull requests 16 https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects 0 https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/scijava/scijava-common/security
Please reload this pagehttps://github.com/scijava/scijava-common/pull/2/files
Insights https://github.com/scijava/scijava-common/pulse
Code https://github.com/scijava/scijava-common
Issues https://github.com/scijava/scijava-common/issues
Pull requests https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security https://github.com/scijava/scijava-common/security
Insights https://github.com/scijava/scijava-common/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
hinermhttps://github.com/hinerm
masterhttps://github.com/scijava/scijava-common/tree/master
lazy-serviceshttps://github.com/scijava/scijava-common/tree/lazy-services
Conversation 4 https://github.com/scijava/scijava-common/pull/2
Commits 1 https://github.com/scijava/scijava-common/pull/2/commits
Checks 0 https://github.com/scijava/scijava-common/pull/2/checks
Files changed https://github.com/scijava/scijava-common/pull/2/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/2/files
Added lazy service loading mechanism https://github.com/scijava/scijava-common/pull/2/files#top
Show all changes 1 commit https://github.com/scijava/scijava-common/pull/2/files
581f23a Added lazy service loading mechanism hinerm Mar 18, 2013 https://github.com/scijava/scijava-common/pull/2/commits/581f23a295152f5dd3c6a1e31d33087d38c9ffaf
Clear filters https://github.com/scijava/scijava-common/pull/2/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/2/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/2/files
Context.java https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
Plugin.java https://github.com/scijava/scijava-common/pull/2/files#diff-23cb684f9cf6974d4cfe29fb6f3d93ab57d2b3041dff5ecba96cfb1ba5c5005f
ServiceHelper.java https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
src/main/java/org/scijava/Context.javahttps://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
View file https://github.com/scijava/scijava-common/blob/581f23a295152f5dd3c6a1e31d33087d38c9ffaf/src/main/java/org/scijava/Context.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scijava/scijava-common/pull/2/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
https://github.com/scijava/scijava-common/pull/2/files#diff-18548d8dbf9f7cd29b892e3a57d16feddc4e3dcb02b354c04de5591d093ef11d
src/main/java/org/scijava/plugin/Plugin.javahttps://github.com/scijava/scijava-common/pull/2/files#diff-23cb684f9cf6974d4cfe29fb6f3d93ab57d2b3041dff5ecba96cfb1ba5c5005f
View file https://github.com/scijava/scijava-common/blob/581f23a295152f5dd3c6a1e31d33087d38c9ffaf/src/main/java/org/scijava/plugin/Plugin.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scijava/scijava-common/pull/2/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/2/files#diff-23cb684f9cf6974d4cfe29fb6f3d93ab57d2b3041dff5ecba96cfb1ba5c5005f
https://github.com/scijava/scijava-common/pull/2/files#diff-23cb684f9cf6974d4cfe29fb6f3d93ab57d2b3041dff5ecba96cfb1ba5c5005f
src/main/java/org/scijava/service/ServiceHelper.javahttps://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
View file https://github.com/scijava/scijava-common/blob/581f23a295152f5dd3c6a1e31d33087d38c9ffaf/src/main/java/org/scijava/service/ServiceHelper.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scijava/scijava-common/pull/2/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com/scijava/scijava-common/pull/2/files#diff-1fd0d620808e365188cc2cebe3c1fa5c57326cdf8469de83cf473b5dfae133f4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.