Package org.jboss.weld.environment.se.events

Examples of org.jboss.weld.environment.se.events.ContainerInitialized


                }
                return deployment;
            }
        };
        _weldContainer = _weld.initialize();
        _weldContainer.event().select(ContainerInitialized.class).fire(new ContainerInitialized());

        // And bind the BeanManager instance into java:comp...
        try {
            Context ctx = (Context) new InitialContext().lookup(BINDING_CONTEXT);
            ctx.rebind(BEAN_MANAGER_NAME, getBeanManager());
View Full Code Here


    // forum post check
    @Test
    public void testEventQualifiersCorrect(Event<Object> event) {
        Foo.reset();
        event.select(ContainerInitialized.class).fire(new ContainerInitialized());
        assertFalse(Foo.isObservedEventTest());
    }
View Full Code Here

        this.shutdownManager = new ShutdownManager(bootstrap, manager);

        WeldContainer container = getInstanceByType(manager, WeldContainer.class);

        // notify container initialized
        container.event().select(ContainerInitialized.class, InitializedLiteral.APPLICATION).fire(new ContainerInitialized());

        return container;
    }
View Full Code Here

TOP

Related Classes of org.jboss.weld.environment.se.events.ContainerInitialized

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.