org.apache.jetspeed.util
Class SynchronizedMapping

java.lang.Object
  extended byorg.exolab.castor.mapping.Mapping
      extended byorg.apache.jetspeed.util.SynchronizedMapping

public class SynchronizedMapping
extends org.exolab.castor.mapping.Mapping

Thread safe wrapper for the castor Mapping class.
This wrapper serializes all thread access to the loadMapping() methods.


Field Summary
 
Fields inherited from class org.exolab.castor.mapping.Mapping
DAX, JDO, XML
 
Constructor Summary
SynchronizedMapping()
           
SynchronizedMapping(java.lang.ClassLoader arg0)
           
 
Method Summary
 void loadMapping(org.xml.sax.InputSource input)
           
 void loadMapping(java.lang.String input)
           
 void loadMapping(java.net.URL input)
           
 
Methods inherited from class org.exolab.castor.mapping.Mapping
getClassLoader, getResolver, getResolver, getRoot, setBaseURL, setEntityResolver, setLogWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedMapping

public SynchronizedMapping()

SynchronizedMapping

public SynchronizedMapping(java.lang.ClassLoader arg0)
Parameters:
arg0 -
Method Detail

loadMapping

public void loadMapping(org.xml.sax.InputSource input)
                 throws org.exolab.castor.mapping.MappingException,
                        java.io.IOException
Throws:
org.exolab.castor.mapping.MappingException
java.io.IOException

loadMapping

public void loadMapping(java.lang.String input)
                 throws org.exolab.castor.mapping.MappingException,
                        java.io.IOException
Throws:
org.exolab.castor.mapping.MappingException
java.io.IOException

loadMapping

public void loadMapping(java.net.URL input)
                 throws org.exolab.castor.mapping.MappingException,
                        java.io.IOException
Throws:
org.exolab.castor.mapping.MappingException
java.io.IOException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.