Seam Component Listesi

Seam de component listesini almaya dair bir ornek.

    Context context = Contexts.getApplicationContext();
    for (String name: context.getNames()) {
        Object object = context.get(name);
        if(object instanceof org.jboss.seam.Component) {
            Component component = (Component) object;
     
            System.out.println(component.getName());
            System.out.println(component.getType());
            System.out.println(component.getScope());
            System.out.println(component.getTimeout());
            System.out.println(component.isStartup());
            System.out.println(component.isSynchronize());
        }
    }
Jul 2nd, 2010
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>