jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: unregistering nodetypes, Name impl
Date Wed, 16 Dec 2009 10:34:43 GMT
Hi,

On Wed, Dec 16, 2009 at 11:27 AM, Torgeir Veimo <torgeir@netenviron.com> wrote:
> Unregistration of nodetypes requires using an
> org.apache.jackrabbit.spi.Name instance, but there's no class
> implementing this interface available, only the private NameImpl class
> in NameFactoryImpl.
>
> Is there any other way of removing a nodetype except providing my own
> Name impl? Maybe the NameImpl class should be made public?

Why not use NodeTypeManager.unregisterNodeTypes(String[] names) from JCR 2.0?

BR,

Jukka Zitting

Mime
View raw message