Package com.sun.appserv.server

Examples of com.sun.appserv.server.LifecycleEventContext.log()


     @throws ServerLifecycleException
     */
    public void handleEvent(LifecycleEvent event)
        throws ServerLifecycleException {       
        LifecycleEventContext ctx = event.getLifecycleEventContext();
        ctx.log("got event" + event.getEventType() + " event data: " +
            event.getData());
        switch (event.getEventType()) {
        case LifecycleEvent.INIT_EVENT:
            onInitialization(ctx);
            break;
View Full Code Here


     @throws ServerLifecycleException
     */
    public void handleEvent(LifecycleEvent event)
            throws ServerLifecycleException {
        LifecycleEventContext ctx = event.getLifecycleEventContext();
        ctx.log("got event" + event.getEventType() + " event data: " +
                event.getData());
        switch (event.getEventType()) {
            case LifecycleEvent.INIT_EVENT:
                onInitialization(ctx);
                break;
View Full Code Here

     *  fatal conditions.
     */
    public void handleEvent(LifecycleEvent event) throws ServerLifecycleException {
        LifecycleEventContext ctx = event.getLifecycleEventContext();

        ctx.log("got event" + event.getEventType() + " event data: " + event.getData());

        Properties props;

        if (LifecycleEvent.INIT_EVENT == event.getEventType()) {
            System.out.println("LifecycleListener: INIT_EVENT");
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.