[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-213) Unwrap MetaValue in MetaValueFactory

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Oct 26 05:02:01 EDT 2007


Unwrap MetaValue in MetaValueFactory
------------------------------------

                 Key: JBMICROCONT-213
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-213
             Project: JBoss MicroContainer
          Issue Type: Feature Request
          Components: General
    Affects Versions: JBossMC-2.0.0.Beta5
            Reporter: Ales Justin
         Assigned To: Ales Justin
            Priority: Minor
             Fix For: JBossMC-2.0.0.Beta5


Add a way to get the initial value from which you created the MetaValue - unwrapping the MetaValue in MetaValueFactory.

   /**
    * Unwrap meta value.
    * Supports simple and generic meta value.
    *
    * @param metaValue meta value
    * @return meta value's value
    */
   public abstract Object unwrap(MetaValue metaValue);

   /**
    * Unwrap meta value.
    * Supports simple and generic meta value.
    *
    * @param metaValue meta value
    * @param type the type
    * @return meta value's value
    */
   public abstract Object unwrap(MetaValue metaValue, Type type);

   /**
    * Unwrap meta value.
    * Supports simple and generic meta value.
    *
    * @param metaValue meta value
    * @param type the type
    * @return meta value's value
    */
   public abstract Object unwrap(MetaValue metaValue, TypeInfo type);




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

        



More information about the jboss-jira mailing list