/* Generated by Together */

package cobalt.deployment.descriptor.dist;

import cobalt.deployment.descriptor.EjbDescriptor;

/**
 * Title:        WebLogic 6.x stateless session ejb component descriptor
 * Description:  Represents WebLogic 6.x-specific stateless session ejb component for standard stateless session ejb component
 * Copyright:    Copyright (c) 2001
 * Company:      ETRI
 * @author Yeon Jun Choi
 * @version 1.0
 */

public class Weblogic60StatelessEjbDescriptor extends Weblogic60EjbDescriptor {
	public Weblogic60StatelessEjbDescriptor(EjbDescriptor descriptor) {
        super(descriptor);
    }
    public int getMaxBeansInFreePool(){
            return getInt("max-beans-in-free-pool", 32768);
        }

    public String getMaxBeansInFreePoolValue(){
            return getString("max-beans-in-free-pool");
        }

    public void setMaxBeansInFreePool(int maxBeansInFreePool){
            setInt("max-beans-in-free-pool", maxBeansInFreePool);
        }

    public int getInitialBeansInFreePool(){
            return getInt("initial-beans-in-free-pool", 0);
        }

    public String getInitialBeansInFreePoolValue(){
            return getString("initial-beans-in-free-pool");
        }

    public void setInitialBeansInFreePool(int initialBeansInFreePool){
            setInt("initial-beans-in-free-pool", initialBeansInFreePool);
        }

    public boolean isIdempotent(){
            return getBoolean("stateless-bean-methods-are-idempotent", false);
        }

    public String isIdempotentValue(){
            return getString("stateless-bean-methods-are-idempotent");
        }

    public void setIdempotent(boolean idempotent){
            setBoolean("stateless-bean-methods-are-idempotent", idempotent);
        }

    /*
    private int maxBeansInFreePool;
    private int initialBeansInFreePool;
    private boolean idempotent;
    */
}
