src/main/java/js/container/LoggerInstanceProcessor.java
@Override
	public void postProcessInstance(ManagedClassSPI managedClass, Object instance) {
		if (!managedClass.getInstanceScope().equals(InstanceScope.APPLICATION)) {
			return;
		}
		if (!managedClass.getInstanceType().equals(InstanceType.PROXY)) {
			return;
		}

		Class<?>[] interfaceClasses = managedClass.getInterfaceClasses();
		StringBuilder interfaceNames = new StringBuilder(interfaceClasses[0].getName());
		for (int i = 1; i < interfaceClasses.length; ++i) {
			interfaceNames.append(", ");
			interfaceNames.append(interfaceClasses[i].getName());
		}

		log.debug("Create managed container proxy:\r\n" + //
				"\t- implementation: %s\r\n" + //
				"\t- interface(s): %s\r\n" + //
				"\t- scope: %s\r\n" + //
				"\t- type: %s\r\n" + //
				"\t- transactional: %s\r\n" + //
				"\t- remote: %s", managedClass.getImplementationClass(), interfaceNames.toString(), managedClass.getInstanceScope(), managedClass.getInstanceType(), managedClass.isTransactional(), managedClass.isRemotelyAccessible());
	}
@Override
	public void postProcessInstance(ManagedClassSPI managedClass, Object instance) {
		if (!managedClass.getInstanceScope().equals(InstanceScope.APPLICATION)) {
			return;
		}
		if (!managedClass.getInstanceType().equals(InstanceType.PROXY)) {
			return;
		}

		Class<?>[] interfaceClasses = managedClass.getInterfaceClasses();
		StringBuilder interfaceNames = new StringBuilder(interfaceClasses[0].getName());
		for (int i = 1; i < interfaceClasses.length; ++i) {
			interfaceNames.append(", ");
			interfaceNames.append(interfaceClasses[i].getName());
		}

		log.debug("Create managed container proxy:\r\n" + //
				"\t- implementation: %s\r\n" + //
				"\t- interface(s): %s\r\n" + //
				"\t- scope: %s\r\n" + //
				"\t- type: %s\r\n" + //
				"\t- transactional: %s\r\n" + //
				"\t- remote: %s", managedClass.getImplementationClass(), interfaceNames.toString(), managedClass.getInstanceScope(), managedClass.getInstanceType(), managedClass.isTransactional(), managedClass.isRemotelyAccessible());
	}
@ Override public void postProcessInstance ( ManagedClassSPI managedClass , Object instance ) { if ( ! managedClass . getInstanceScope ( ) . equals ( InstanceScope . APPLICATION ) ) { return ; } if ( ! managedClass . getInstanceType ( ) . equals ( InstanceType . PROXY ) ) { return ; } Class < ? > [ ] interfaceClasses = managedClass . getInterfaceClasses ( ) ; StringBuilder interfaceNames = new StringBuilder ( interfaceClasses [ 0 ] . getName ( ) ) ; for ( int i = 1 ; i < interfaceClasses . length ; ++ i ) { interfaceNames . append ( ", " ) ; interfaceNames . append ( interfaceClasses [ i ] . getName ( ) ) ; } log . debug ( "Create managed container proxy:\r\n" + //
 "\t- implementation: %s\r\n" + //
 "\t- interface(s): %s\r\n" + //
 "\t- scope: %s\r\n" + //
 "\t- type: %s\r\n" + //
 "\t- transactional: %s\r\n" + //
 "\t- remote: %s" , managedClass . getImplementationClass ( ) , interfaceNames . toString ( ) , managedClass . getInstanceScope ( ) , managedClass . getInstanceType ( ) , managedClass . isTransactional ( ) , managedClass . isRemotelyAccessible ( ) ) ; }
Dump managed instance of {@link InstanceType#PROXY} type and with {@link InstanceScope#APPLICATION} scope to container
logger. For managed instance of other scope / type combinations this method does nothing.

@param managedClass managed class,
@param instance instance of managed class.
Dump managed instance of { @link InstanceType#PROXY } type and with { @link InstanceScope#APPLICATION } scope to container logger . For managed instance of other scope / type combinations this method does nothing .