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

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

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

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

public class RequestScopedPackagePrivateBean extends ScopedBean implements Serializable {

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

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

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