/*
 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: ApplicationScopedPackagePrivateBean.java 62525 2011-04-15 12:14:31Z dougd $
 */

package com.sun.ts.tests.jsf.spec.el.managedbean.common;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import java.io.Serializable;

public class ApplicationScopedPackagePrivateBean extends ScopedBean implements Serializable {

    @PostConstruct void onPostConstruct() {
	setPostConstructProperty("application package private PostConstruct method invoked");
    }

    @PreDestroy void onPreDestroy() {
	PreDestroyProp.setPreDestroyProperty("application package private PreDestroy method invoked");
    }

    public ApplicationScopedPackagePrivateBean() {
        System.out.println("ApplicationScopedPackagePrivateBean created.");
    }
}
