Hi,

Why not use  
EffectiveNodeType<file:///home/ntoper/ebooks/jackrabbit/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.html>
*reregisterNodeType<file:///home/ntoper/ebooks/jackrabbit/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.html#reregisterNodeType%28org.apache.jackrabbit.core.nodetype.NodeTypeDef%29>
*(NodeTypeDef<file:///home/ntoper/ebooks/jackrabbit/org/apache/jackrabbit/core/nodetype/NodeTypeDef.html>
ntd) from the NodeTypeRegistry?.

Nico

On 8/18/06, Christoph Kiehl <[EMAIL PROTECTED]> wrote:

Hi,

currently there are only API methods to register new nodetypes but not to
modify
  aka reregister nodetypes.
I would like to add the following methods to JackrabbitNodeTypeManager:

NodeType[] registerNodeTypes(InputSource in, boolean reregisterExistent)
NodeType[] registerNodeTypes(InputStream in, String contentType, boolean
reregisterExistent)

If the parameter reregisterExistent is true, already existent nodetypes
will be
reregistered.
What do you think about that? Did I miss anything?

Cheers,
Christoph




--
a+
Nico
my blog! http://www.deviant-abstraction.net !!

Reply via email to