[jboss-jira] [JBoss JIRA] Created: (JBXB-195) SingletonSchemaResolverFactory should use Service Provider SPI to allow for dynamic additions

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Mar 31 04:35:22 EDT 2009


SingletonSchemaResolverFactory should use Service Provider SPI to allow for dynamic additions
---------------------------------------------------------------------------------------------

                 Key: JBXB-195
                 URL: https://jira.jboss.org/jira/browse/JBXB-195
             Project: JBoss XML Binding (JBossXB)
          Issue Type: Feature Request
            Reporter: Carlo de Wolf


See http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider

So I should be able to create META-INF/services/org.jboss.xb.spi.JaxbSchema with:
org.jboss.reloaded.repoclassloader.schema.ReportClassLoaderSchema

class RepoClassLoaderSchema implements JaxbSchema
{
    String getNamespace() { return "urn:jboss:repoclassloader:1.0" };
    Class<?> getReference() { return RepoClassLoaderFactory10.class };
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list