org.apache.jetspeed.util
Class SynchronizedMapping
java.lang.Object
org.exolab.castor.mapping.Mapping
org.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.
Fields inherited from class org.exolab.castor.mapping.Mapping |
DAX, JDO, XML |
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 |
SynchronizedMapping
public SynchronizedMapping()
SynchronizedMapping
public SynchronizedMapping(java.lang.ClassLoader arg0)
- Parameters:
arg0
-
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.