[jboss-jira] [JBoss JIRA] Created: (JBMAN-47) Add a MetaMappingFactory/MetaMapperFactory

Scott M Stark (JIRA) jira-events at lists.jboss.org
Mon Nov 24 22:53:36 EST 2008


Add a MetaMappingFactory/MetaMapperFactory
------------------------------------------

                 Key: JBMAN-47
                 URL: https://jira.jboss.org/jira/browse/JBMAN-47
             Project: JBoss Managed
          Issue Type: Feature Request
          Components: metatype
    Affects Versions: JBossMan.2.0.0.CR5
            Reporter: Scott M Stark
            Assignee: Scott M Stark
             Fix For: JBossMan.2.0.0.GA


public @interface MetaMappingFactory
{
   Class<? extends MetaMapperFactory<?>> value();
   String[] args() default {};
}
public interface MetaMapperFactory<T>
{
   /**
    * Create a MetaMapper instance
    * @return the MetaMapper
    */
   MetaMapper<T> newInstance();
   /**
    * Create a MetaMapper instance using the specified String[]
    * @param args - String[] for use by the factory
    * @return the MetaMapper
    * @throws IllegalArgumentException if the args is invalid
    */
   MetaMapper<T> newInstance(String...args);
}


-- 
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