commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject RE: [lang] 1.0 release foci
Date Wed, 14 Aug 2002 20:11:59 GMT


> -----Original Message-----
> From: Juozas Baliuka [mailto:baliuka@centras.lt]
> Sent: Tuesday, August 13, 2002 11:57 PM
> To: Jakarta Commons Developers List
> Subject: Re: [lang] 1.0 release foci
> 
> 
> Hi,
> I think it is useful to add methods with additional 
> "ClassLoader" parameter.
> This class has meaning only for applications with single classloder.

Well, possibly two class loaders, if you look for the current thread's
context class loader first, and then fall back to the implementing class's
class loader.

In any case, I'm +1 on allowing the caller to specify one, if they want to.

--
Martin Cooper


> [discovery] has something like this "ClassLoaderUtils".
> 
> ----- Original Message -----
> From: "Henri Yandell" <bayard@generationjava.com>
> To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> Sent: Wednesday, August 14, 2002 6:52 AM
> Subject: RE: [lang] 1.0 release foci
> 
> 
> > >
> > > How does your ClassUtils relate to MethodUtils in the 
> BeanUtils package?
> > >
> > > I just started writing some code that could potentially end up in
> something
> > > like a FieldUtils class, if that would be of interest.
> >
> > I've pushed the ClassUtils class back into the Lang cvs tree for
> > consideration. Methods are:
> >
> >     public static java.lang.Object createObject(java.lang.String);
> >     public static java.lang.Object createObject(java.lang.Class);
> >     public static boolean classExists(java.lang.String);
> >     public static java.lang.Class getClass(java.lang.String);
> >     public static boolean classInstanceOf(java.lang.Class,
> java.lang.String);
> >     public static boolean classImplements(java.lang.Class,
> java.lang.String);
> >     public static boolean classExtends(java.lang.Class, 
> java.lang.String);
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message