if (pcEntry.sfContainsValue(this.getEntry())) {
if ((pcEntry!=null)&&(pcEntry.sfContainsValue(this.getEntry()))) {
    private String getRDNProcessCompound() {        //Special case when Entry is Registered in ProcessCompound.        String entryName ="";        ProcessCompound pcEntry=null;        try {            //Now every component can register with its local processCompound            // and therefore it should be shown in this way.            //Find ProcessCompound where entry is deployed//            StringBuffer refStr = new StringBuffer();//            refStr.append("HOST \"");//            refStr.append(((Prim)entry).sfDeployedHost().getCanonicalHostName());//            refStr.append("\":");//            refStr.append(((Prim)entry).sfDeployedProcessName());//            Reference refPC = Reference.fromString(refStr.toString());            // enty host            //pcEntry = (ProcessCompound)((Prim)entry).sfResolve(refPC);            pcEntry = SFProcess.getProcessCompound();            try {              Object prim = ((Prim)entry).sfResolve( ((Prim) entry).sfCompleteName());              if (pcEntry.sfContainsValue(prim)) {                entryName =  (String)pcEntry.sfAttributeKeyFor(prim);              }            } catch (Exception ex2) {              if (pcEntry.sfContainsValue(this.getEntry())) {                  entryName =  (String)pcEntry.sfAttributeKeyFor(this.getEntry());              }            }        } catch (Exception ex) {            if (sfLog().isErrorEnabled()) sfLog().error(ex);        }        return entryName;    }