microscoped | custom CDI Scopes for your hashmap-killing pleasure
kandi X-RAY | microscoped Summary
kandi X-RAY | microscoped Summary
microscoped is a Java library. microscoped has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub, Maven.
A handful of custom CDI Scopes for your learning and hashmap-killing pleasure. While EJB has @Stateless, @Singleton, @Stateful there are near equivalent of all such concepts in CDI such as @ApplicationScoped and @SessionScoped. Unlike its predecessor EJB, CDI is not fixed to just these bean types. It is possible for nearly any lifecycle to be supported via adding a custom @Scope implementation. Despite this awesome power and potential, the use of custom CDI Scopes is rarely found in the wild. This is more due to lack of resources and examples for doing so as well as a truly inspired set of ideas. This project attempts to give both. Rest assured, if you're storing objects in a map in your code and hooking that map up to a ThreadLocal, that code is begging to be rewritten.
A handful of custom CDI Scopes for your learning and hashmap-killing pleasure. While EJB has @Stateless, @Singleton, @Stateful there are near equivalent of all such concepts in CDI such as @ApplicationScoped and @SessionScoped. Unlike its predecessor EJB, CDI is not fixed to just these bean types. It is possible for nearly any lifecycle to be supported via adding a custom @Scope implementation. Despite this awesome power and potential, the use of custom CDI Scopes is rarely found in the wild. This is more due to lack of resources and examples for doing so as well as a truly inspired set of ideas. This project attempts to give both. Rest assured, if you're storing objects in a map in your code and hooking that map up to a ThreadLocal, that code is begging to be rewritten.
Support
Quality
Security
License
Reuse
Support
microscoped has a low active ecosystem.
It has 32 star(s) with 11 fork(s). There are 7 watchers for this library.
It had no major release in the last 6 months.
There are 3 open issues and 3 have been closed. On average issues are closed in 20 days. There are 8 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of microscoped is current.
Quality
microscoped has 0 bugs and 0 code smells.
Security
microscoped has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
microscoped code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
microscoped does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
microscoped releases are not available. You will need to build from source code and install.
Deployable package is available in Maven.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
microscoped saves you 570 person hours of effort in developing the same functionality from scratch.
It has 1331 lines of code, 95 functions and 51 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed microscoped and discovered the below as its top functions. This is intended to give you an instant insight into microscoped implemented functionality, and help decide if they suit your requirements.
- Sets the header
- Exit the current thread
- Gets the header
- Activates a new scope
- Returns the value associated with a contextual
- Returns an instance of the bean
- Gets the value associated with a contextual context
- Returns an instance of the bean
- Invoke timer
- Get the key for a timer
- Destroys a scope
- Destroy all resources
- Override beforeBean discovery
- Registers scope context
- Returns true if the scope is active
- Inject scope scoped methods
- Inject scope context
- Invoke method
- Destroys all scopes
- Inject a bean discovery event
- Inject a timer discovery event on the bean
- Gets scope key
- Get a contextual reference for a given type
- Handle domain scopes
- Documentation inherited from interface TimerEnd
Get all kandi verified functions for this library.
microscoped Key Features
No Key Features are available at this moment for microscoped.
microscoped Examples and Code Snippets
No Code Snippets are available at this moment for microscoped.
Community Discussions
No Community Discussions are available at this moment for microscoped.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install microscoped
You can download it from GitHub, Maven.
You can use microscoped like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the microscoped component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use microscoped like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the microscoped component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page