Class JamServiceFactoryImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.JamServiceFactory
-
- org.apache.xmlbeans.impl.jam.provider.JamServiceFactoryImpl
-
public class JamServiceFactoryImpl extends JamServiceFactory
Default implementation of the JamServiceFactory singleton. Custom JAM providers need to extend this class and override whatever methods they need to.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringUSE_NEW_PARSERService context property which turns on the javadoc killer.
-
Constructor Summary
Constructors Constructor Description JamServiceFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JamClassLoadercreateJamClassLoader(java.lang.ClassLoader cl)Returns a new JamClassLoader which simply wraps the given classloader.JamServicecreateService(JamServiceParams jsps)Create a new JamService from the given parameters.JamServiceParamscreateServiceParams()Create a new JamServiceParams instance.JamClassLoadercreateSystemJamClassLoader()Returns a new JamClassLoader which simply wraps the system classloader.-
Methods inherited from class org.apache.xmlbeans.impl.jam.JamServiceFactory
getInstance, main
-
-
-
-
Field Detail
-
USE_NEW_PARSER
public static final java.lang.String USE_NEW_PARSER
Service context property which turns on the javadoc killer. This will be removed when javadoc has been phased out.
- See Also:
- Constant Field Values
-
-
Method Detail
-
createServiceParams
public JamServiceParams createServiceParams()
Description copied from class:JamServiceFactoryCreate a new JamServiceParams instance. The params can be populated and then given to the createServiceRoot method to create a new JamService.- Specified by:
createServiceParamsin classJamServiceFactory
-
createService
public JamService createService(JamServiceParams jsps) throws java.io.IOException
Description copied from class:JamServiceFactoryCreate a new JamService from the given parameters.- Specified by:
createServicein classJamServiceFactory- Throws:
java.io.IOException- if an IO error occurred while creating the service
-
createSystemJamClassLoader
public JamClassLoader createSystemJamClassLoader()
Description copied from class:JamServiceFactoryReturns a new JamClassLoader which simply wraps the system classloader.
- Specified by:
createSystemJamClassLoaderin classJamServiceFactory
-
createJamClassLoader
public JamClassLoader createJamClassLoader(java.lang.ClassLoader cl)
Description copied from class:JamServiceFactoryReturns a new JamClassLoader which simply wraps the given classloader.
- Specified by:
createJamClassLoaderin classJamServiceFactory
-
-