Gregg Wonderly wrote:
Dennis Reedy wrote:
On May 25, 2010, at 1156AM, Patrick Wright wrote:
I myself would just
like to see River move away from the idea that dynamic download via
codebase services is a requirement, more or less, of using Jini, and
to provide a reasonable/workable alternative for those that don't need
it.
Sums up the entire impetus to this thread, well said!
We all know that there are references to java.rmi.* in various parts of
what Jini is. But, the plugability of RMIClassLoaderSPI (and now my
changes to remove dependency on the system class loader resolving the
replacement SPI), it has always been possible for the "annotation" to be
pretty arbitrarily resolved to mean whatever.
The real problem is that the annotation is untyped. What I'd like to
suggest, is that we amend some of my work to include a typed annotation
which could actually be contained in a Map that might look like
Map<String,List<A>> that would allow multiple types of annotations to be
used. The key to the map, should be the class name of the replacement
CodebaseClassAccess implementation.
Then we could put <A> on CodebaseClassAccess as the annotation type
provide a bit richer opportunity to really compartmentalize and fully
qualify how annotations are used.
Thoughts?
As I go look at the code regarding this, I see that the implementation details
don't make this so easy because CodebaseAccessClassLoader is a singleton and the
types are thus fixed. I need to look at this more.
Gregg Wonderly
- Service API, class visibility, isolation and garbage colle... Peter Firmstone
- Re: Service API, class visibility, isolation and garbage c... Peter Firmstone
- Re: Service API, class visibility, isolation and garbage c... Peter Firmstone
- Re: Service API, class visibility, isolation and garbage c... Dennis Reedy
- Re: Service API, class visibility, isolation and garbage c... Greg Trasuk
- Re: Maven repository Entry was Re: Codebase service? Gregg Wonderly
- Re: Maven repository Entry was Re: Codebase service? Dennis Reedy
- Re: Maven repository Entry was Re: Codebase service? Patrick Wright
- Re: Maven repository Entry was Re: Codebase service? Dennis Reedy
- Re: Maven repository Entry was Re: Codebase service? Gregg Wonderly
- Re: Maven repository Entry was Re: Codebase service? Gregg Wonderly
- Re: Maven repository Entry was Re: Codebase service? Peter Firmstone
- Re: Maven repository Entry was Re: Codebase service? Greg Trasuk
- Re: Maven repository Entry was Re: Codebase service? Patrick Wright
- Re: Maven repository Entry was Re: Codebase service? Dennis Reedy
- Re: Maven repository Entry was Re: Codebase service? Jeff Ramsdale