private String buildStringRepresentation ( Config descriptor ) { StringBuilder builder = new StringBuilder ( ) ; builder . append ( descriptor . getName ( ) ) ; builder . append ( ' ' ) ; if ( implementationClass != null ) { builder . append ( implementationClass . getName ( ) ) ; builder . append ( ' ' ) ; } for ( Class < ? > interfaceClass : interfaceClasses ) { builder . append ( interfaceClass . getName ( ) ) ; builder . append ( ' ' ) ; } builder . append ( instanceType ) ; builder . append ( ' ' ) ; builder . append ( instanceScope ) ; builder . append ( ' ' ) ; builder . append ( remotelyAccessible ? "NET" : "LOCAL" ) ; if ( implementationURL != null ) { builder . append ( ' ' ) ; builder . append ( implementationURL ) ; } return builder . toString ( ) ; }
Build and return this managed class string representation .