private File getStatefulBeanFile(String fileNamePrefix, boolean checkAll)
    {
        File statefulBeanFile = null;

        if (clusterName != null)
        {
            statefulBeanFile = new File(passivationDir, fileNamePrefix + clusterName);
            if (checkAll && statefulBeanFile.exists())
            {
                return statefulBeanFile;
            }
        }

        statefulBeanFile = new File(passivationDir, fileNamePrefix + serverName);
        if (checkAll && statefulBeanFile.exists())
        {
            return statefulBeanFile;
        }

        return new File(passivationDir, fileNamePrefix);
    }
private File getStatefulBeanFile ( String fileNamePrefix , boolean checkAll ) { File statefulBeanFile = null ; if ( clusterName != null ) { statefulBeanFile = new File ( passivationDir , fileNamePrefix + clusterName ) ; if ( checkAll && statefulBeanFile . exists ( ) ) { return statefulBeanFile ; } } statefulBeanFile = new File ( passivationDir , fileNamePrefix + serverName ) ; if ( checkAll && statefulBeanFile . exists ( ) ) { return statefulBeanFile ; } return new File ( passivationDir , fileNamePrefix ) ; }
RTC102568