Exemple #1
0
 @Before
 public void setUp() throws Exception {
   this.aradon =
       Aradon.create(
           Configuration.newBuilder()
               .aradon()
               .addAttribute("cacheName", "c1")
               .sections()
               .restSection("")
               .path("hello")
               .addUrlPattern("/hello")
               .handler(SimpleLet.class)
               .aradon()
               .sections()
               .restSection("other")
               .path("hello")
               .addUrlPattern("/hello")
               .handler(SimpleLet.class)
               .build());
 }
Exemple #2
0
 @Test
 public void testHelloLet() throws Exception {
   Aradon myaradon = Aradon.create("resource/config/readonly-config.xml"); // load HiLet
 }