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.String
USE_NEW_PARSER
Service 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 JamClassLoader
createJamClassLoader(java.lang.ClassLoader cl)
Returns a new JamClassLoader which simply wraps the given classloader.JamService
createService(JamServiceParams jsps)
Create a new JamService from the given parameters.JamServiceParams
createServiceParams()
Create a new JamServiceParams instance.JamClassLoader
createSystemJamClassLoader()
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:JamServiceFactory
Create a new JamServiceParams instance. The params can be populated and then given to the createServiceRoot method to create a new JamService.- Specified by:
createServiceParams
in classJamServiceFactory
-
createService
public JamService createService(JamServiceParams jsps) throws java.io.IOException
Description copied from class:JamServiceFactory
Create a new JamService from the given parameters.- Specified by:
createService
in classJamServiceFactory
- Throws:
java.io.IOException
- if an IO error occurred while creating the service
-
createSystemJamClassLoader
public JamClassLoader createSystemJamClassLoader()
Description copied from class:JamServiceFactory
Returns a new JamClassLoader which simply wraps the system classloader.
- Specified by:
createSystemJamClassLoader
in classJamServiceFactory
-
createJamClassLoader
public JamClassLoader createJamClassLoader(java.lang.ClassLoader cl)
Description copied from class:JamServiceFactory
Returns a new JamClassLoader which simply wraps the given classloader.
- Specified by:
createJamClassLoader
in classJamServiceFactory
-
-