// 1. Call the deactivate method, if present
// don't care for the result, the error (acccording to 112.5.12 If the deactivate
// method throws an exception, SCR must log an error message containing the
// exception with the Log Service and continue) has already been logged
final MethodResult result = getComponentMethods().getDeactivateMethod().invoke( implementationObject,
new ActivatorParameter( componentContext, reason ), null, this );
if ( result != null )
{
setServiceProperties( result );
}
// 2. Unbind any bound services