Package org.jboss.managed.api.annotation

Examples of org.jboss.managed.api.annotation.Masked.options()


      String maskedKey = Masked.class.getName();
      log.info(masked1.getAnnotations().keySet());
      assertTrue(masked1.hasAnnotation(maskedKey));
      Masked masked1Ann = (Masked) masked1.getAnnotations().get(maskedKey);
      assertNotNull(masked1Ann);
      String[] masked1Opts = masked1Ann.options();
      assertEquals(2, masked1Opts.length);
      assertEquals("hashAlgorithm", masked1Opts[0]);
      assertEquals("MD5", masked1Opts[1]);
     
      ManagedProperty masked2 = managedObject.getProperty("masked2");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.