Package org.jboss.system.metadata

Examples of org.jboss.system.metadata.ServiceValueMetaData


      super(name);
   }

   public void testElement() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertElementValue(value, "dummy");
   }
View Full Code Here


      super(name);
   }

   public void testText() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertTextValue(value, "value");
   }
View Full Code Here

      else
      {
         assertNotNull(restored.getValue());
      }
     
      ServiceValueMetaData value = original.getValue();
      // TODO we need some MetaMapping for attributes
      assertEquals(original.getName(), value.getClass().getName(), restored.getValue().getClass().getName());
   }
View Full Code Here

      super(name);
   }

   public void testInjection() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertInjectValue(value, "bean", null);
   }
View Full Code Here

      assertInjectValue(value, "bean", null);
   }

   public void testInjectionEmpty() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertInjectValue(value, "", null);
   }
View Full Code Here

      assertInjectValue(value, "", null);
   }

   public void testInjectionProperty() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertInjectValue(value, "bean", "property");
   }
View Full Code Here

      assertInjectValue(value, "bean", "property");
   }

   public void testInjectionState() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertInjectValue(value, "bean", null, ControllerState.INSTANTIATED);
   }
View Full Code Here

      assertInjectValue(value, "bean", null, ControllerState.INSTANTIATED);
   }

   public void testInjectionPropertyState() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertInjectValue(value, "bean", "property", ControllerState.INSTANTIATED);
   }
View Full Code Here

      super(name);
   }

   public void testJavaBean() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertJavaBeanValue(value, "dummy");
   }
View Full Code Here

      super(name);
   }

   public void testBasicValueFactory() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertValueFactoryValue(value, SIMPLE_LIST, DEFAULT);
   }
View Full Code Here

TOP

Related Classes of org.jboss.system.metadata.ServiceValueMetaData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.